Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 184.8 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.944/1.944, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001105/0.001105, allocations: 91.94 kB / 267.1 MB, free: 9.27 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.2684/0.2684, allocations: 37.97 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.609e-05, allocations: 8 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 56.31 MB / 473.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5666, allocations: 95.21 MB / 0.555 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.567, allocations: 87.95 kB / 0.5551 GB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03432/0.6013, allocations: 7.395 MB / 0.5623 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6014, allocations: 0 / 0.5623 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.6014, allocations: 12 kB / 0.5623 GB, free: 0.9609 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001266/0.6027, allocations: 0.5825 MB / 0.5629 GB, free: 340 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6028, allocations: 12.03 kB / 0.5629 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.6029, allocations: 39.83 kB / 0.5629 GB, free: 288 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.6061, allocations: 0.8064 MB / 0.5637 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.6062, allocations: 16.56 kB / 0.5638 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.6063, allocations: 27.94 kB / 0.5638 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.6071, allocations: 344.8 kB / 0.5641 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6072, allocations: 0 / 0.5641 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.6072, allocations: 12 kB / 0.5641 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.6072, allocations: 4 kB / 0.5641 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.6079, allocations: 234 kB / 0.5643 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.6105, allocations: 1.366 MB / 0.5657 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.611, allocations: 157 kB / 0.5658 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.6114, allocations: 101.7 kB / 0.5659 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.6114, allocations: 4 kB / 0.5659 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.6115, allocations: 34.56 kB / 0.566 GB, free: 13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.336e-06/0.6115, allocations: 0 / 0.566 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001565/0.6131, allocations: 0.6026 MB / 0.5666 GB, free: 12.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6131, allocations: 81.11 kB / 0.5666 GB, free: 12.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.6136, allocations: 262.6 kB / 0.5669 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6136, allocations: 29.7 kB / 0.5669 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.6139, allocations: 266.2 kB / 0.5672 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.6139, allocations: 55.19 kB / 0.5672 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.614, allocations: 8 kB / 0.5672 GB, free: 11.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6141, allocations: 318.8 kB / 0.5675 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.6143, allocations: 64.02 kB / 0.5676 GB, free: 11.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.6146, allocations: 162.3 kB / 0.5677 GB, free: 11.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.6148, allocations: 91.89 kB / 0.5678 GB, free: 10.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6149, allocations: 0 / 0.5678 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007717/0.6156, allocations: 290.3 kB / 0.5681 GB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.6157, allocations: 12.03 kB / 0.5681 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6157, allocations: 4 kB / 0.5681 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.616, allocations: 44.81 kB / 0.5682 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.6164, allocations: 55.86 kB / 0.5682 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.6182, allocations: 1.468 MB / 0.5697 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.6186, allocations: 8 kB / 0.5697 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.6186, allocations: 11.98 kB / 0.5697 GB, free: 8.918 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.6188, allocations: 120.9 kB / 0.5698 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.6189, allocations: 39.61 kB / 0.5698 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.6196, allocations: 229.4 kB / 0.57 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6196, allocations: 0 / 0.57 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6196, allocations: 4 kB / 0.57 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6196, allocations: 0 / 0.57 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.621, allocations: 0.6215 MB / 0.5707 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.621, allocations: 0 / 0.5707 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.6212, allocations: 28.02 kB / 0.5707 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.6215, allocations: 52.73 kB / 0.5707 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.6216, allocations: 8 kB / 0.5707 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.6234, allocations: 1.456 MB / 0.5722 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6234, allocations: 7.969 kB / 0.5722 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.6243, allocations: 413.7 kB / 0.5726 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.6244, allocations: 96.83 kB / 0.5727 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.6245, allocations: 11.98 kB / 0.5727 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.6247, allocations: 4 kB / 0.5727 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.6248, allocations: 15.92 kB / 0.5727 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.6248, allocations: 4 kB / 0.5727 GB, free: 5.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.6251, allocations: 210.2 kB / 0.5729 GB, free: 5.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6251, allocations: 4 kB / 0.5729 GB, free: 5.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.6257, allocations: 72 kB / 0.573 GB, free: 5.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.626, allocations: 111.2 kB / 0.5731 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.6267, allocations: 286.3 kB / 0.5733 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6267, allocations: 4.25 kB / 0.5733 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6272, allocations: 202.5 kB / 0.5735 GB, free: 4.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.6278, allocations: 56.56 kB / 0.5736 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.6293, allocations: 0.5737 MB / 0.5742 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.6298, allocations: 0.8145 MB / 0.5749 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.63, allocations: 23.44 kB / 0.575 GB, free: 3.129 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.63, allocations: 0 / 0.575 GB, free: 3.129 MB / 410.7 MB Notification: Performance of Templates: time 0.01103/0.641, allocations: 4.681 MB / 0.5795 GB, free: 14.45 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)