Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06733/0.06733, allocations: 8.712 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 240.9 MB, free: 13.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.08 kB / 293.9 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.997e-05, allocations: 4 kB / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 52.55 MB / 405.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5485, allocations: 120.8 MB / 0.5136 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.5487, allocations: 75.97 kB / 0.5137 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4834/1.032, allocations: 103.2 MB / 0.6145 GB, free: 80.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.032, allocations: 0 / 0.6145 GB, free: 80.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000648/1.033, allocations: 106.4 kB / 0.6146 GB, free: 80.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.01427/1.047, allocations: 4.192 MB / 0.6187 GB, free: 79.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.047, allocations: 12.92 kB / 0.6187 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/1.054, allocations: 0.9592 MB / 0.6196 GB, free: 78.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.065, allocations: 3.947 MB / 0.6235 GB, free: 78.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/1.066, allocations: 344.1 kB / 0.6238 GB, free: 77.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/1.067, allocations: 246.7 kB / 0.624 GB, free: 77.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008738/1.076, allocations: 3.932 MB / 0.6279 GB, free: 77.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007492/1.084, allocations: 4.601 MB / 0.6324 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.351e-05/1.084, allocations: 11.75 kB / 0.6324 GB, free: 76.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003191/1.084, allocations: 3.562 kB / 0.6324 GB, free: 76.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.084, allocations: 173.3 kB / 0.6325 GB, free: 76.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/1.109, allocations: 17.15 MB / 0.6493 GB, free: 66.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/1.115, allocations: 8.015 MB / 0.6571 GB, free: 59.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/1.117, allocations: 1.731 MB / 0.6588 GB, free: 59.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008664/1.126, allocations: 5.304 MB / 0.664 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/1.128, allocations: 1.137 MB / 0.6651 GB, free: 55.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 3.958e-06/1.128, allocations: 0 / 0.6651 GB, free: 55.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=209): time 0.01361/1.141, allocations: 7.13 MB / 0.6721 GB, free: 52.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/1.141, allocations: 340.1 kB / 0.6724 GB, free: 52.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.144, allocations: 1.797 MB / 0.6741 GB, free: 51.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.144, allocations: 36.8 kB / 0.6742 GB, free: 51.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.145, allocations: 1.934 MB / 0.6761 GB, free: 50.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/1.146, allocations: 0.6679 MB / 0.6767 GB, free: 49.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.146, allocations: 4 kB / 0.6767 GB, free: 49.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/1.146, allocations: 406.7 kB / 0.6771 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.147, allocations: 0.9909 MB / 0.6781 GB, free: 48.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.148, allocations: 1.728 MB / 0.6798 GB, free: 47.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.15, allocations: 1.412 MB / 0.6811 GB, free: 46.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.15, allocations: 3.781 kB / 0.6811 GB, free: 46.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00528/1.156, allocations: 3.75 MB / 0.6848 GB, free: 45.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001326/1.157, allocations: 8.276 MB / 0.6929 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.157, allocations: 20.84 kB / 0.6929 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.159, allocations: 1 MB / 0.6939 GB, free: 35.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.161, allocations: 469.1 kB / 0.6943 GB, free: 35.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.172, allocations: 13.63 MB / 0.7076 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.174, allocations: 119.9 kB / 0.7078 GB, free: 23.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.175, allocations: 106.9 kB / 0.7079 GB, free: 23.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.175, allocations: 4 kB / 0.7079 GB, free: 23.6 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004872/1.18, allocations: 3.445 MB / 0.7112 GB, free: 20.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.18, allocations: 20 kB / 0.7112 GB, free: 20.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.182, allocations: 0.9907 MB / 0.7122 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.183, allocations: 463.3 kB / 0.7126 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.194, allocations: 13.64 MB / 0.726 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/1.196, allocations: 115.9 kB / 0.7261 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.197, allocations: 108 kB / 0.7262 GB, free: 4.477 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[3]:VARIABLE(unit = "V" ) "Voltage drops of the two polyphase plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[1]:VARIABLE(unit = "V" ) "Voltage drops of the two polyphase plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[2]:VARIABLE(unit = "V" ) "Voltage drops of the two polyphase plugs" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006208/1.197, allocations: 210 kB / 0.7264 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.198, allocations: 252.9 kB / 0.7266 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/1.203, allocations: 3.163 MB / 0.7297 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.203, allocations: 20 kB / 0.7297 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.203, allocations: 8 kB / 0.7297 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/1.203, allocations: 7.969 kB / 0.7298 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.215, allocations: 6.429 MB / 0.736 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.215, allocations: 0 / 0.736 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.216, allocations: 287.8 kB / 0.7363 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/1.218, allocations: 1.014 MB / 0.7373 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.219, allocations: 27.97 kB / 0.7373 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.388/1.607, allocations: 11.25 MB / 0.7483 GB, free: 84.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.607, allocations: 3.438 kB / 0.7483 GB, free: 84.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/1.614, allocations: 4.548 MB / 0.7528 GB, free: 83.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.615, allocations: 0.5703 MB / 0.7533 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/1.616, allocations: 23.38 kB / 0.7533 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.617, allocations: 95.67 kB / 0.7534 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.618, allocations: 239.8 kB / 0.7537 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.618, allocations: 56.86 kB / 0.7537 GB, free: 83.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002036/1.62, allocations: 1.337 MB / 0.755 GB, free: 83.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.62, allocations: 0 / 0.755 GB, free: 83.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006359/1.626, allocations: 1.33 MB / 0.7563 GB, free: 83.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008948/1.627, allocations: 371.7 kB / 0.7567 GB, free: 83.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009221/1.636, allocations: 6.132 MB / 0.7627 GB, free: 81.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.637, allocations: 0 / 0.7627 GB, free: 81.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003254/1.64, allocations: 2.052 MB / 0.7647 GB, free: 81.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/1.643, allocations: 483.8 kB / 0.7651 GB, free: 81.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.658, allocations: 6.291 MB / 0.7713 GB, free: 80.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.661, allocations: 2.92 MB / 0.7741 GB, free: 79.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004317/1.666, allocations: 0.9738 MB / 0.7751 GB, free: 79.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/1.666, allocations: 128 kB / 0.7752 GB, free: 79.23 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/1.666, allocations: 0 / 0.7752 GB, free: 79.23 MB / 458.7 MB Notification: Performance of Templates: time 0.07141/1.737, allocations: 45.66 MB / 0.8198 GB, free: 76.45 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)