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.0009932/0.0009933, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.234/1.234, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001619/0.001619, allocations: 121.2 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.164/0.164, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 16 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08464, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.3915, allocations: 92.89 MB / 0.537 GB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3918, allocations: 95.23 kB / 0.5371 GB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0552/0.447, allocations: 24.01 MB / 0.5605 GB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4471, allocations: 4 kB / 0.5605 GB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.4471, allocations: 16 kB / 0.5606 GB, free: 15.16 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.001107/0.4482, allocations: 0.7008 MB / 0.5612 GB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4483, allocations: 12.02 kB / 0.5613 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.4499, allocations: 211.2 kB / 0.5615 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.4505, allocations: 372.5 kB / 0.5618 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4505, allocations: 32.8 kB / 0.5618 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.4506, allocations: 47.42 kB / 0.5619 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.4514, allocations: 0.6134 MB / 0.5625 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4515, allocations: 0 / 0.5625 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.4515, allocations: 18.61 kB / 0.5625 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.4517, allocations: 48.27 kB / 0.5626 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.4525, allocations: 0.5904 MB / 0.5631 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.4556, allocations: 2.273 MB / 0.5654 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.4563, allocations: 489.4 kB / 0.5658 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.4563, allocations: 8.047 kB / 0.5658 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4563, allocations: 41.56 kB / 0.5659 GB, free: 10.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.4564, allocations: 0 / 0.5659 GB, free: 10.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003279/0.4596, allocations: 1.657 MB / 0.5675 GB, free: 9.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.4597, allocations: 81.11 kB / 0.5676 GB, free: 8.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.46, allocations: 251.6 kB / 0.5678 GB, free: 8.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.46, allocations: 28.95 kB / 0.5678 GB, free: 8.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4602, allocations: 225.4 kB / 0.568 GB, free: 8.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4603, allocations: 153.1 kB / 0.5682 GB, free: 8.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.4604, allocations: 10.62 kB / 0.5682 GB, free: 8.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4605, allocations: 350.5 kB / 0.5685 GB, free: 8.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.4607, allocations: 168.3 kB / 0.5687 GB, free: 7.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.461, allocations: 286.6 kB / 0.569 GB, free: 7.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.4613, allocations: 210.4 kB / 0.5692 GB, free: 7.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4613, allocations: 0 / 0.5692 GB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001036/0.4624, allocations: 0.6673 MB / 0.5698 GB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4624, allocations: 4 kB / 0.5698 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4624, allocations: 4 kB / 0.5698 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.4629, allocations: 166.5 kB / 0.57 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4633, allocations: 99.38 kB / 0.5701 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.4665, allocations: 2.582 MB / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.4668, allocations: 22.8 kB / 0.5726 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.4668, allocations: 23.05 kB / 0.5726 GB, free: 4.562 MB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002354/0.4671, allocations: 194.6 kB / 0.5728 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.4671, allocations: 35.62 kB / 0.5729 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4682, allocations: 0.6125 MB / 0.5735 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4682, allocations: 8 kB / 0.5735 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4683, allocations: 0 / 0.5735 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4683, allocations: 3.984 kB / 0.5735 GB, free: 3.906 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002033/0.4703, allocations: 1.347 MB / 0.5748 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4703, allocations: 8 kB / 0.5748 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.4707, allocations: 72.05 kB / 0.5749 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.4711, allocations: 142.3 kB / 0.575 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.4712, allocations: 12.73 kB / 0.575 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.4738, allocations: 2.361 MB / 0.5773 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4738, allocations: 4.031 kB / 0.5773 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4751, allocations: 0.973 MB / 0.5783 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.4752, allocations: 108.6 kB / 0.5784 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.4753, allocations: 19.98 kB / 0.5784 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4755, allocations: 12 kB / 0.5784 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.4756, allocations: 31.95 kB / 0.5784 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.4756, allocations: 15.98 kB / 0.5785 GB, free: 14.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.4758, allocations: 194.1 kB / 0.5786 GB, free: 14.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4758, allocations: 7.938 kB / 0.5786 GB, free: 14.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005713/0.4764, allocations: 144 kB / 0.5788 GB, free: 14.61 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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.0001542/0.4765, allocations: 119.2 kB / 0.5789 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4776, allocations: 0.658 MB / 0.5795 GB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4777, allocations: 0 / 0.5795 GB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.4783, allocations: 423 kB / 0.5799 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4787, allocations: 56.72 kB / 0.58 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.4806, allocations: 1.367 MB / 0.5813 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.481, allocations: 0.8832 MB / 0.5822 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.4813, allocations: 75.22 kB / 0.5823 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.4814, allocations: 31.42 kB / 0.5823 GB, free: 10.91 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4814, allocations: 0 / 0.5823 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Templates: time 0.00895/0.4903, allocations: 5.111 MB / 0.5873 GB, free: 5.797 MB / 394.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)