Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 82.66 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2632/0.2632, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.481e-05, allocations: 0 / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6388, allocations: 95.61 MB / 0.5486 GB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.6391, allocations: 92.05 kB / 0.5487 GB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03301/0.6722, allocations: 7.611 MB / 0.5561 GB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6722, allocations: 0 / 0.5561 GB, free: 7.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.34e-05/0.6723, allocations: 11.52 kB / 0.5562 GB, free: 7.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001279/0.6736, allocations: 0.5831 MB / 0.5567 GB, free: 6.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6736, allocations: 11.67 kB / 0.5567 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6738, allocations: 47.05 kB / 0.5568 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.6764, allocations: 0.7187 MB / 0.5575 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.6765, allocations: 7.656 kB / 0.5575 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.6766, allocations: 15.22 kB / 0.5575 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005954/0.6772, allocations: 232.3 kB / 0.5577 GB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.6778, allocations: 320.2 kB / 0.558 GB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.6778, allocations: 3.844 kB / 0.558 GB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.6779, allocations: 0 / 0.558 GB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.6779, allocations: 11.8 kB / 0.5581 GB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.6801, allocations: 1.385 MB / 0.5594 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.6805, allocations: 148 kB / 0.5595 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.6806, allocations: 74.12 kB / 0.5596 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.6807, allocations: 0 / 0.5596 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.6807, allocations: 33.56 kB / 0.5596 GB, free: 4.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.6807, allocations: 8 kB / 0.5597 GB, free: 4.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001248/0.682, allocations: 0.5802 MB / 0.5602 GB, free: 4.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.682, allocations: 77.11 kB / 0.5603 GB, free: 4.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.6824, allocations: 256.3 kB / 0.5605 GB, free: 4.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.6824, allocations: 25.7 kB / 0.5606 GB, free: 4.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.6825, allocations: 261.9 kB / 0.5608 GB, free: 3.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.6826, allocations: 64.78 kB / 0.5609 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.6826, allocations: 0 / 0.5609 GB, free: 3.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.6827, allocations: 326.3 kB / 0.5612 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.6829, allocations: 56.47 kB / 0.5612 GB, free: 3.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.6831, allocations: 165 kB / 0.5614 GB, free: 3.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.6833, allocations: 79.58 kB / 0.5615 GB, free: 3.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6833, allocations: 0 / 0.5615 GB, free: 3.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000511/0.6838, allocations: 243.8 kB / 0.5617 GB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6839, allocations: 4 kB / 0.5617 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.6839, allocations: 4 kB / 0.5617 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.6839, allocations: 8 kB / 0.5617 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.6844, allocations: 55.91 kB / 0.5618 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6844, allocations: 11.94 kB / 0.5618 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.6847, allocations: 4 kB / 0.5618 GB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.6848, allocations: 19.67 kB / 0.5618 GB, free: 2.859 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.6849, allocations: 108.9 kB / 0.5619 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.685, allocations: 39.56 kB / 0.562 GB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.6855, allocations: 214 kB / 0.5622 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6855, allocations: 0 / 0.5622 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6855, allocations: 0 / 0.5622 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6856, allocations: 7.984 kB / 0.5622 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.6866, allocations: 0.5545 MB / 0.5627 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6866, allocations: 7.984 kB / 0.5627 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.687, allocations: 39.58 kB / 0.5627 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.687, allocations: 3.938 kB / 0.5628 GB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.6871, allocations: 8 kB / 0.5628 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6871, allocations: 0 / 0.5628 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6871, allocations: 0 / 0.5628 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.6878, allocations: 443.5 kB / 0.5632 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6879, allocations: 100.7 kB / 0.5633 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.688, allocations: 3.984 kB / 0.5633 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.6882, allocations: 11.94 kB / 0.5633 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.6883, allocations: 15.05 kB / 0.5633 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.6883, allocations: 4 kB / 0.5633 GB, free: 1.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.6886, allocations: 196.5 kB / 0.5635 GB, free: 1.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6886, allocations: 0 / 0.5635 GB, free: 1.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005202/0.6891, allocations: 64.31 kB / 0.5636 GB, free: 1.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.6893, allocations: 107.1 kB / 0.5637 GB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.6897, allocations: 165.9 kB / 0.5638 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6897, allocations: 0 / 0.5638 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.6899, allocations: 87.28 kB / 0.5639 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.6906, allocations: 64.11 kB / 0.564 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6917, allocations: 489.9 kB / 0.5644 GB, free: 396 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.6921, allocations: 0.8133 MB / 0.5652 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.6923, allocations: 31.3 kB / 0.5653 GB, free: 15.53 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6923, allocations: 4 kB / 0.5653 GB, free: 15.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.7026, allocations: 3.742 MB / 0.5689 GB, free: 11.83 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)