Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001197/0.001198, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.471/1.471, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 112.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1718/0.1718, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.629e-05, allocations: 4 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.6659, allocations: 94.98 MB / 0.5329 GB, free: 88.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.6662, allocations: 88.83 kB / 0.533 GB, free: 88.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04503/0.7112, allocations: 16.91 MB / 0.5495 GB, free: 79.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7113, allocations: 0 / 0.5495 GB, free: 79.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.267e-05/0.7113, allocations: 20 kB / 0.5496 GB, free: 79.4 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001949/0.7133, allocations: 1.008 MB / 0.5506 GB, free: 78.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7134, allocations: 12.03 kB / 0.5506 GB, free: 78.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.7137, allocations: 90.88 kB / 0.5507 GB, free: 78.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.7179, allocations: 1.686 MB / 0.5523 GB, free: 76.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.718, allocations: 45.31 kB / 0.5523 GB, free: 76.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.7182, allocations: 67.98 kB / 0.5524 GB, free: 76.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.7194, allocations: 0.7865 MB / 0.5532 GB, free: 75.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.7194, allocations: 3.938 kB / 0.5532 GB, free: 75.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.7195, allocations: 35.98 kB / 0.5532 GB, free: 75.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.7195, allocations: 33.3 kB / 0.5532 GB, free: 75.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.7204, allocations: 0.5985 MB / 0.5538 GB, free: 74.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.7235, allocations: 2.637 MB / 0.5564 GB, free: 72.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.7243, allocations: 0.6108 MB / 0.557 GB, free: 71.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.7249, allocations: 363.2 kB / 0.5573 GB, free: 71.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.7249, allocations: 4.438 kB / 0.5573 GB, free: 71.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.7254, allocations: 483 kB / 0.5578 GB, free: 70.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.357e-06/0.7254, allocations: 0 / 0.5578 GB, free: 70.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002267/0.7277, allocations: 1.747 MB / 0.5595 GB, free: 68.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.7278, allocations: 251.9 kB / 0.5598 GB, free: 68.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.7283, allocations: 495.3 kB / 0.5602 GB, free: 68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.7284, allocations: 37.7 kB / 0.5603 GB, free: 67.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.7286, allocations: 399.5 kB / 0.5606 GB, free: 67.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.7287, allocations: 209 kB / 0.5608 GB, free: 67.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.7288, allocations: 16 kB / 0.5609 GB, free: 67.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.7289, allocations: 382.8 kB / 0.5612 GB, free: 66.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.7291, allocations: 217.9 kB / 0.5614 GB, free: 66.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.7295, allocations: 441.9 kB / 0.5619 GB, free: 66.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.7299, allocations: 338.8 kB / 0.5622 GB, free: 65.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7299, allocations: 4 kB / 0.5622 GB, free: 65.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001219/0.7311, allocations: 0.9327 MB / 0.5631 GB, free: 64.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.7312, allocations: 63.39 kB / 0.5632 GB, free: 64.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7312, allocations: 12.03 kB / 0.5632 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.7315, allocations: 105.7 kB / 0.5633 GB, free: 64.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.732, allocations: 147.7 kB / 0.5634 GB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.7341, allocations: 3.197 MB / 0.5665 GB, free: 61.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.7346, allocations: 44.05 kB / 0.5666 GB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.7347, allocations: 59.89 kB / 0.5666 GB, free: 61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.7349, allocations: 225.7 kB / 0.5668 GB, free: 60.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.7349, allocations: 79 kB / 0.5669 GB, free: 60.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.7359, allocations: 0.774 MB / 0.5677 GB, free: 59.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7359, allocations: 8 kB / 0.5677 GB, free: 59.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.7359, allocations: 0 / 0.5677 GB, free: 59.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7359, allocations: 11.94 kB / 0.5677 GB, free: 59.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.7378, allocations: 1.545 MB / 0.5692 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.7379, allocations: 96 / 0.5692 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.7383, allocations: 111.9 kB / 0.5693 GB, free: 58.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.7383, allocations: 7.953 kB / 0.5693 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.7384, allocations: 20.17 kB / 0.5693 GB, free: 58.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7384, allocations: 15.88 kB / 0.5694 GB, free: 58.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7384, allocations: 0 / 0.5694 GB, free: 58.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.7396, allocations: 1.224 MB / 0.5705 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.7399, allocations: 180.2 kB / 0.5707 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.74, allocations: 20.06 kB / 0.5707 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.7403, allocations: 31.97 kB / 0.5708 GB, free: 56.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.7404, allocations: 48.28 kB / 0.5708 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.7405, allocations: 59.91 kB / 0.5709 GB, free: 56.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000397/0.7409, allocations: 387.1 kB / 0.5712 GB, free: 56.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7409, allocations: 0 / 0.5712 GB, free: 56.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007103/0.7416, allocations: 192 kB / 0.5714 GB, free: 55.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * 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.0002889/0.7419, allocations: 192.5 kB / 0.5716 GB, free: 55.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.7431, allocations: 0.9758 MB / 0.5726 GB, free: 54.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7431, allocations: 1.312 kB / 0.5726 GB, free: 54.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.7435, allocations: 497.2 kB / 0.573 GB, free: 54.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.7441, allocations: 147 kB / 0.5732 GB, free: 54.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.7461, allocations: 1.185 MB / 0.5743 GB, free: 52.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.7465, allocations: 1.021 MB / 0.5753 GB, free: 51.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.747, allocations: 153.8 kB / 0.5755 GB, free: 51.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7471, allocations: 55.44 kB / 0.5755 GB, free: 51.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7471, allocations: 0 / 0.5755 GB, free: 51.54 MB / 378.7 MB Notification: Performance of Templates: time 0.01204/0.7591, allocations: 7.614 MB / 0.583 GB, free: 43.93 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)