Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002082/0.002088, 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.122/2.122, 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.001076/0.001076, 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.2571/0.2571, allocations: 37.99 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.977e-05, allocations: 4 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 56.32 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6024, allocations: 99.28 MB / 0.5522 GB, free: 9.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6028, allocations: 93.66 kB / 0.5523 GB, free: 9.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.6496, allocations: 11.4 MB / 0.5634 GB, free: 2.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6497, allocations: 0 / 0.5634 GB, free: 2.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.372e-05/0.6497, allocations: 8 kB / 0.5634 GB, free: 2.367 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001549/0.6513, allocations: 0.7652 MB / 0.5642 GB, free: 1.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6513, allocations: 8.688 kB / 0.5642 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.6515, allocations: 63.2 kB / 0.5643 GB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.6561, allocations: 1.209 MB / 0.5654 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.6562, allocations: 12 kB / 0.5654 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.6563, allocations: 24 kB / 0.5655 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008909/0.6572, allocations: 344.2 kB / 0.5658 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6582, allocations: 490.6 kB / 0.5663 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.6583, allocations: 0 / 0.5663 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.6583, allocations: 4 kB / 0.5663 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.6584, allocations: 32.7 kB / 0.5663 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.6621, allocations: 1.844 MB / 0.5681 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.6629, allocations: 310.4 kB / 0.5684 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.6634, allocations: 182.9 kB / 0.5686 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.6635, allocations: 4 kB / 0.5686 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.664, allocations: 270.2 kB / 0.5688 GB, free: 13.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.664, allocations: 0 / 0.5688 GB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002228/0.6662, allocations: 0.903 MB / 0.5697 GB, free: 12.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6664, allocations: 166.2 kB / 0.5699 GB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.6669, allocations: 327.7 kB / 0.5702 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.667, allocations: 29.73 kB / 0.5702 GB, free: 12.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.6672, allocations: 333.4 kB / 0.5705 GB, free: 11.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.6674, allocations: 115.7 kB / 0.5706 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.6674, allocations: 7.875 kB / 0.5707 GB, free: 11.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6676, allocations: 326 kB / 0.571 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.6679, allocations: 104.7 kB / 0.5711 GB, free: 11.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.6683, allocations: 266.3 kB / 0.5713 GB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.6687, allocations: 149.9 kB / 0.5715 GB, free: 11.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.6687, allocations: 4 kB / 0.5715 GB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001001/0.6697, allocations: 407.2 kB / 0.5719 GB, free: 10.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.6698, allocations: 33.7 kB / 0.5719 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6698, allocations: 4 kB / 0.5719 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/0.6699, allocations: 12.64 kB / 0.5719 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.6707, allocations: 115.6 kB / 0.572 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.6707, allocations: 11.98 kB / 0.572 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.6712, allocations: 16.06 kB / 0.572 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.6713, allocations: 39.41 kB / 0.5721 GB, free: 10.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0001947/0.6715, allocations: 150.3 kB / 0.5722 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6717, allocations: 51.42 kB / 0.5723 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.6727, allocations: 389.7 kB / 0.5726 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.6727, allocations: 7.953 kB / 0.5726 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6728, allocations: 0 / 0.5726 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.6728, allocations: 11.97 kB / 0.5727 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.6745, allocations: 0.8187 MB / 0.5735 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6746, allocations: 4 kB / 0.5735 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.6752, allocations: 59.91 kB / 0.5735 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.6752, allocations: 4.031 kB / 0.5735 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.6753, allocations: 19.06 kB / 0.5735 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.6753, allocations: 4 kB / 0.5735 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6753, allocations: 0 / 0.5735 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.6767, allocations: 0.6593 MB / 0.5742 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.6771, allocations: 146 kB / 0.5743 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.6772, allocations: 4 kB / 0.5743 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.6776, allocations: 11.98 kB / 0.5743 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.6777, allocations: 27.03 kB / 0.5744 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.6778, allocations: 26.78 kB / 0.5744 GB, free: 8.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004061/0.6782, allocations: 247 kB / 0.5746 GB, free: 8.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.995e-06/0.6782, allocations: 0 / 0.5746 GB, free: 8.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.679, allocations: 107 kB / 0.5747 GB, free: 8.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0002902/0.6793, allocations: 134.9 kB / 0.5749 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008813/0.6802, allocations: 373.3 kB / 0.5752 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6802, allocations: 0 / 0.5752 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.6807, allocations: 249.2 kB / 0.5755 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.6816, allocations: 86.78 kB / 0.5755 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.6836, allocations: 0.736 MB / 0.5763 GB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.6842, allocations: 0.8986 MB / 0.5771 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.6845, allocations: 39.44 kB / 0.5772 GB, free: 5.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6845, allocations: 0 / 0.5772 GB, free: 5.773 MB / 378.7 MB Notification: Performance of Templates: time 0.01597/0.7004, allocations: 5.942 MB / 0.583 GB, free: 15.9 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)