Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.567/1.567, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001593/0.001593, allocations: 116.3 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 37.93 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.602e-05, allocations: 0 / 390.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 53.22 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3631, allocations: 92.14 MB / 0.5232 GB, free: 5.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.3634, allocations: 83.95 kB / 0.5233 GB, free: 5.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.267/0.6304, allocations: 23.77 MB / 0.5465 GB, free: 82.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6305, allocations: 0 / 0.5465 GB, free: 82.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.6305, allocations: 8 kB / 0.5465 GB, free: 82.53 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001317/0.6319, allocations: 0.6752 MB / 0.5471 GB, free: 81.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6319, allocations: 11.97 kB / 0.5471 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.6337, allocations: 211.2 kB / 0.5473 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.6343, allocations: 374.3 kB / 0.5477 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.6344, allocations: 16 kB / 0.5477 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.6345, allocations: 31.86 kB / 0.5477 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006532/0.6351, allocations: 438.4 kB / 0.5482 GB, free: 80.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.6359, allocations: 0.5425 MB / 0.5487 GB, free: 80.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.6359, allocations: 7.938 kB / 0.5487 GB, free: 80.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.636, allocations: 0 / 0.5487 GB, free: 80.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.6361, allocations: 49.27 kB / 0.5487 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.6389, allocations: 2.194 MB / 0.5509 GB, free: 77.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.6394, allocations: 474.9 kB / 0.5513 GB, free: 77.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.6397, allocations: 233.7 kB / 0.5516 GB, free: 77.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.6397, allocations: 7.984 kB / 0.5516 GB, free: 77.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.6397, allocations: 46.55 kB / 0.5516 GB, free: 77.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.6397, allocations: 0 / 0.5516 GB, free: 77.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001821/0.6416, allocations: 1.217 MB / 0.5528 GB, free: 75.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6416, allocations: 93.05 kB / 0.5529 GB, free: 75.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.6418, allocations: 206.1 kB / 0.5531 GB, free: 75.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6418, allocations: 25.7 kB / 0.5531 GB, free: 75.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.6419, allocations: 223.9 kB / 0.5533 GB, free: 75.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.642, allocations: 153.7 kB / 0.5535 GB, free: 75.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.6421, allocations: 0 / 0.5535 GB, free: 75.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.6421, allocations: 342.8 kB / 0.5538 GB, free: 74.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.6423, allocations: 173.1 kB / 0.554 GB, free: 74.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.6426, allocations: 277.7 kB / 0.5542 GB, free: 74.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.6428, allocations: 213.9 kB / 0.5544 GB, free: 73.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6429, allocations: 0 / 0.5544 GB, free: 73.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009321/0.6438, allocations: 0.6227 MB / 0.555 GB, free: 73.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6438, allocations: 8 kB / 0.5551 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6438, allocations: 4 kB / 0.5551 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.6443, allocations: 161.1 kB / 0.5552 GB, free: 73.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.6447, allocations: 99.86 kB / 0.5553 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.6471, allocations: 2.372 MB / 0.5576 GB, free: 70.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.6474, allocations: 20.02 kB / 0.5576 GB, free: 70.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.6475, allocations: 27.97 kB / 0.5577 GB, free: 70.54 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fixedLoad.terminal.i[2]:VARIABLE(flow=true unit = "A" nominal = 1.0 ) "current vector" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.6476, allocations: 124.6 kB / 0.5578 GB, free: 70.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.6477, allocations: 31.62 kB / 0.5578 GB, free: 70.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009246/0.6486, allocations: 0.5978 MB / 0.5584 GB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6486, allocations: 12.06 kB / 0.5584 GB, free: 69.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6486, allocations: 11.88 kB / 0.5584 GB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6487, allocations: 7.922 kB / 0.5584 GB, free: 69.75 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6505, allocations: 1.281 MB / 0.5597 GB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6505, allocations: 0 / 0.5597 GB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.6509, allocations: 79.89 kB / 0.5598 GB, free: 68.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.6513, allocations: 132.8 kB / 0.5599 GB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6513, allocations: 4 kB / 0.5599 GB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.6536, allocations: 2.224 MB / 0.5621 GB, free: 65.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6536, allocations: 3.953 kB / 0.5621 GB, free: 65.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.6547, allocations: 0.9547 MB / 0.563 GB, free: 64.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.6548, allocations: 112.6 kB / 0.5631 GB, free: 64.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.6549, allocations: 4.031 kB / 0.5631 GB, free: 64.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.6551, allocations: 15.98 kB / 0.5631 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6552, allocations: 35.89 kB / 0.5632 GB, free: 64.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.6552, allocations: 15.95 kB / 0.5632 GB, free: 64.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.6553, allocations: 158 kB / 0.5633 GB, free: 64.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6553, allocations: 0 / 0.5633 GB, free: 64.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006015/0.6559, allocations: 135.9 kB / 0.5635 GB, free: 64.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.6561, allocations: 107.2 kB / 0.5636 GB, free: 64.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.6571, allocations: 0.6414 MB / 0.5642 GB, free: 63.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6571, allocations: 0 / 0.5642 GB, free: 63.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.6577, allocations: 417.5 kB / 0.5646 GB, free: 63.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.658, allocations: 50.61 kB / 0.5646 GB, free: 63.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6593, allocations: 0.9021 MB / 0.5655 GB, free: 62.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.6596, allocations: 0.8866 MB / 0.5664 GB, free: 61.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.6598, allocations: 75.22 kB / 0.5664 GB, free: 61.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.6599, allocations: 27.44 kB / 0.5665 GB, free: 61.19 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6599, allocations: 0 / 0.5665 GB, free: 61.19 MB / 378.7 MB Notification: Performance of Templates: time 0.007924/0.6678, allocations: 5.003 MB / 0.5714 GB, free: 56.2 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)