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.001466/0.001465, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 90.83 kB / 267.1 MB, free: 9.281 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.2705/0.2705, allocations: 37.96 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.876e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 56.32 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6225, allocations: 96.28 MB / 0.5561 GB, free: 7.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.623, allocations: 95.92 kB / 0.5562 GB, free: 7.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05054/0.6735, allocations: 7.683 MB / 0.5637 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6736, allocations: 0 / 0.5637 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.6736, allocations: 8 kB / 0.5637 GB, free: 15.6 MB / 410.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.001748/0.6754, allocations: 0.5823 MB / 0.5642 GB, free: 14.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.6755, allocations: 8.031 kB / 0.5642 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.6757, allocations: 47.81 kB / 0.5643 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.6795, allocations: 0.7245 MB / 0.565 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.6796, allocations: 24.55 kB / 0.565 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6797, allocations: 24 kB / 0.565 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6809, allocations: 348.8 kB / 0.5654 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.681, allocations: 4 kB / 0.5654 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.6811, allocations: 8 kB / 0.5654 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.6811, allocations: 8 kB / 0.5654 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.6821, allocations: 258 kB / 0.5656 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.6859, allocations: 1.442 MB / 0.567 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.6865, allocations: 153 kB / 0.5672 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.6868, allocations: 77.75 kB / 0.5673 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.6869, allocations: 3.984 kB / 0.5673 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.687, allocations: 38.56 kB / 0.5673 GB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 4.077e-06/0.687, allocations: 0 / 0.5673 GB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.002059/0.689, allocations: 0.6096 MB / 0.5679 GB, free: 10.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.6892, allocations: 81.05 kB / 0.568 GB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.6898, allocations: 270.8 kB / 0.5682 GB, free: 10.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.6898, allocations: 25.7 kB / 0.5683 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.6901, allocations: 266.1 kB / 0.5685 GB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6902, allocations: 59.19 kB / 0.5686 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.6903, allocations: 4 kB / 0.5686 GB, free: 10.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6905, allocations: 318.8 kB / 0.5689 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.6907, allocations: 67.97 kB / 0.5689 GB, free: 9.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.6911, allocations: 162.3 kB / 0.5691 GB, free: 9.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.6915, allocations: 97.42 kB / 0.5692 GB, free: 9.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6915, allocations: 3.938 kB / 0.5692 GB, free: 9.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009268/0.6925, allocations: 265.1 kB / 0.5695 GB, free: 9.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6925, allocations: 4 kB / 0.5695 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6926, allocations: 4 kB / 0.5695 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.6926, allocations: 7.953 kB / 0.5695 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.6932, allocations: 60.33 kB / 0.5695 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.6933, allocations: 15.94 kB / 0.5695 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.6938, allocations: 11.98 kB / 0.5696 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.6938, allocations: 16 kB / 0.5696 GB, free: 9.172 MB / 410.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 0.0001577/0.694, allocations: 116.9 kB / 0.5697 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.6941, allocations: 27.62 kB / 0.5697 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/0.6951, allocations: 235.6 kB / 0.5699 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6951, allocations: 0 / 0.5699 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6951, allocations: 8 kB / 0.5699 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.6952, allocations: 3.953 kB / 0.5699 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.6969, allocations: 0.6123 MB / 0.5705 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.697, allocations: 0 / 0.5705 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.6975, allocations: 47.84 kB / 0.5706 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.6976, allocations: 4 kB / 0.5706 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.6976, allocations: 0 / 0.5706 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.6976, allocations: 3.953 kB / 0.5706 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.6977, allocations: 8 kB / 0.5706 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.699, allocations: 448.4 kB / 0.571 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.6992, allocations: 112.7 kB / 0.5711 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.6993, allocations: 4 kB / 0.5711 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.6998, allocations: 16.05 kB / 0.5712 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.6998, allocations: 11.98 kB / 0.5712 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.6999, allocations: 4 kB / 0.5712 GB, free: 7.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004834/0.7004, allocations: 210.2 kB / 0.5714 GB, free: 7.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7004, allocations: 0 / 0.5714 GB, free: 7.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008988/0.7013, allocations: 68 kB / 0.5714 GB, free: 7.133 MB / 410.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.0002163/0.7016, allocations: 107.1 kB / 0.5715 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.7021, allocations: 183.8 kB / 0.5717 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7021, allocations: 0 / 0.5717 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.7024, allocations: 92 kB / 0.5718 GB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.7031, allocations: 65.94 kB / 0.5719 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.7045, allocations: 0.4943 MB / 0.5723 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.705, allocations: 0.8106 MB / 0.5731 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.7052, allocations: 35.42 kB / 0.5732 GB, free: 5.281 MB / 410.7 MB Notification: Performance of SimCode: time 1.031e-06/0.7052, allocations: 0 / 0.5732 GB, free: 5.281 MB / 410.7 MB Notification: Performance of Templates: time 0.01016/0.7154, allocations: 3.76 MB / 0.5768 GB, free: 1.52 MB / 410.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)