Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 186 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.984/1.984, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001097/0.001097, allocations: 91.81 kB / 267.1 MB, free: 9.273 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.3334/0.3334, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.31e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5077/0.6343, allocations: 109.9 MB / 0.5693 GB, free: 9.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.6347, allocations: 87.95 kB / 0.5694 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2396/0.8744, allocations: 48.98 MB / 0.6173 GB, free: 8.148 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8744, allocations: 0 / 0.6173 GB, free: 8.148 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.8746, allocations: 36 kB / 0.6173 GB, free: 8.113 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.008076/0.8827, allocations: 1.588 MB / 0.6188 GB, free: 6.457 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.8828, allocations: 8.031 kB / 0.6188 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.8884, allocations: 453.3 kB / 0.6193 GB, free: 6.004 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.8972, allocations: 2.076 MB / 0.6213 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.8974, allocations: 102.7 kB / 0.6214 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/0.8979, allocations: 147.9 kB / 0.6215 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/0.9038, allocations: 2.223 MB / 0.6237 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.097e-05/0.904, allocations: 7.938 kB / 0.6237 GB, free: 1.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.9042, allocations: 63.97 kB / 0.6238 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005615/0.9048, allocations: 182.8 kB / 0.624 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005414/0.9102, allocations: 1.709 MB / 0.6256 GB, free: 15.29 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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 preOpt removeSimpleEquations (simulation): time 0.01945/0.9297, allocations: 9.306 MB / 0.6347 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.9338, allocations: 1.448 MB / 0.6361 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.9357, allocations: 0.6621 MB / 0.6368 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.9359, allocations: 20.98 kB / 0.6368 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/0.9379, allocations: 0.9193 MB / 0.6377 GB, free: 2.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 4.929e-06/0.9379, allocations: 0 / 0.6377 GB, free: 2.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.3362/1.274, allocations: 3.747 MB / 0.6414 GB, free: 120.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.274, allocations: 286.2 kB / 0.6416 GB, free: 119.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/1.277, allocations: 0.7615 MB / 0.6424 GB, free: 119.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003714/1.277, allocations: 54.09 kB / 0.6424 GB, free: 119.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/1.278, allocations: 0.7463 MB / 0.6432 GB, free: 119.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008329/1.279, allocations: 492.4 kB / 0.6436 GB, free: 119 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/1.279, allocations: 34.59 kB / 0.6437 GB, free: 119 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/1.279, allocations: 388 kB / 0.644 GB, free: 118.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.282, allocations: 0.6064 MB / 0.6446 GB, free: 118.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/1.284, allocations: 1.142 MB / 0.6457 GB, free: 118.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/1.288, allocations: 0.8842 MB / 0.6466 GB, free: 118 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/1.288, allocations: 5.344 kB / 0.6466 GB, free: 118 MB / 474.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01073/1.298, allocations: 2.467 MB / 0.649 GB, free: 117.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.299, allocations: 70.5 kB / 0.6491 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007538/1.306, allocations: 1.679 MB / 0.6507 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/1.31, allocations: 0.5401 MB / 0.6512 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.313, allocations: 322 kB / 0.6516 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.33, allocations: 8.653 MB / 0.66 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.332, allocations: 97.06 kB / 0.6601 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/1.332, allocations: 97.31 kB / 0.6602 GB, free: 112.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004925/1.333, allocations: 288.3 kB / 0.6605 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/1.333, allocations: 123.9 kB / 0.6606 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/1.338, allocations: 1.677 MB / 0.6622 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-05/1.338, allocations: 21.12 kB / 0.6622 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.338, allocations: 2.078 kB / 0.6622 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.338, allocations: 7.422 kB / 0.6622 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008609/1.346, allocations: 3.201 MB / 0.6654 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.347, allocations: 1.375 kB / 0.6654 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.349, allocations: 313.6 kB / 0.6657 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.992e-05/1.35, allocations: 12.33 kB / 0.6657 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/1.35, allocations: 44.5 kB / 0.6657 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/1.35, allocations: 6.281 kB / 0.6657 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.35, allocations: 5.875 kB / 0.6657 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/1.356, allocations: 2.602 MB / 0.6683 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.357, allocations: 314.7 kB / 0.6686 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.357, allocations: 38.94 kB / 0.6686 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.359, allocations: 66.34 kB / 0.6687 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/1.359, allocations: 77.78 kB / 0.6688 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.359, allocations: 89 kB / 0.6688 GB, free: 111 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001091/1.36, allocations: 0.5656 MB / 0.6694 GB, free: 110.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.36, allocations: 0 / 0.6694 GB, free: 110.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002413/1.363, allocations: 472.1 kB / 0.6698 GB, free: 110.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * 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.0005612/1.363, allocations: 244.9 kB / 0.6701 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005219/1.369, allocations: 2.378 MB / 0.6724 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.369, allocations: 0 / 0.6724 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.371, allocations: 0.9489 MB / 0.6733 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.372, allocations: 184.5 kB / 0.6735 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/1.379, allocations: 3.008 MB / 0.6764 GB, free: 107.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.381, allocations: 1.502 MB / 0.6779 GB, free: 107 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/1.381, allocations: 100.5 kB / 0.678 GB, free: 107 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/1.382, allocations: 0 / 0.678 GB, free: 107 MB / 474.7 MB Notification: Performance of Templates: time 0.05469/1.436, allocations: 27.81 MB / 0.7052 GB, free: 104.4 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)