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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 94.86 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001472, allocations: 178.9 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3474/0.3474, allocations: 38.04 MB / 309.7 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005212, allocations: 12 kB / 376.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 56.34 MB / 432.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009349/0.147, allocations: 7.598 MB / 440.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1512, allocations: 2.219 MB / 442.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.152, allocations: 63.56 kB / 442.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.1526, allocations: 194.8 kB / 442.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.1542, allocations: 0.5062 MB / 443.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.1549, allocations: 271.6 kB / 443.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008916/0.1558, allocations: 0.6276 MB / 444.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.1562, allocations: 242.1 kB / 444.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.1568, allocations: 406.4 kB / 444.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.1575, allocations: 434.6 kB / 445.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.1576, allocations: 36 kB / 445.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.1577, allocations: 32 kB / 445.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1579, allocations: 271.3 kB / 445.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1581, allocations: 177.3 kB / 445.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.1586, allocations: 0.6779 MB / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1586, allocations: 0 / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1586, allocations: 0 / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1587, allocations: 0 / 446.5 MB, free: 9.066 MB / 382.1 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.001706/0.1604, allocations: 1.085 MB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1604, allocations: 8.031 kB / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.1606, allocations: 98.77 kB / 447.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1618, allocations: 0.6517 MB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.1618, allocations: 41.31 kB / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.1619, allocations: 64 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1631, allocations: 0.802 MB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1631, allocations: 0 / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.1631, allocations: 24 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.1632, allocations: 41.23 kB / 449.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009921/0.1642, allocations: 0.6062 MB / 449.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.1676, allocations: 2.638 MB / 452.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.1686, allocations: 0.6245 MB / 453.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1686, allocations: 4.5 kB / 453.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.1693, allocations: 491 kB / 453.7 MB, free: 1.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.176e-06/0.1693, allocations: 0 / 453.7 MB, free: 1.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.2169/0.3862, allocations: 2.509 MB / 456.2 MB, free: 52.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.3863, allocations: 254.2 kB / 456.4 MB, free: 51.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3869, allocations: 0.563 MB / 457 MB, free: 51.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.3869, allocations: 38.27 kB / 457 MB, free: 51.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.3871, allocations: 395 kB / 457.4 MB, free: 51.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3873, allocations: 212.7 kB / 457.6 MB, free: 51.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3873, allocations: 16.72 kB / 457.7 MB, free: 51.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.3874, allocations: 387 kB / 458 MB, free: 51.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.3877, allocations: 223.7 kB / 458.3 MB, free: 51.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.3881, allocations: 456.4 kB / 458.7 MB, free: 50.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.3885, allocations: 334.5 kB / 459 MB, free: 50.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3885, allocations: 3.125 kB / 459 MB, free: 50.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001278/0.3898, allocations: 0.9708 MB / 460 MB, free: 50.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.3899, allocations: 68.09 kB / 460.1 MB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3899, allocations: 12.41 kB / 460.1 MB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.3903, allocations: 115.4 kB / 460.2 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.3908, allocations: 146 kB / 460.3 MB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.3933, allocations: 3.259 MB / 463.6 MB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.3938, allocations: 41.31 kB / 463.6 MB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.3938, allocations: 52.3 kB / 463.7 MB, free: 47.94 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.3942, allocations: 357.7 kB / 464 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.3943, allocations: 73.22 kB / 464.1 MB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3954, allocations: 0.9832 MB / 465.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3954, allocations: 6.688 kB / 465.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3954, allocations: 6.828 kB / 465.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3954, allocations: 6.641 kB / 465.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3972, allocations: 1.745 MB / 466.9 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3972, allocations: 0 / 466.9 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.3977, allocations: 103.7 kB / 467 MB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.095e-05/0.3978, allocations: 51.19 kB / 467 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.3978, allocations: 21.39 kB / 467 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.399, allocations: 2.764 MB / 469.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.399, allocations: 0 / 469.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4003, allocations: 1.438 MB / 471.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.4005, allocations: 189 kB / 471.4 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.4006, allocations: 18.78 kB / 471.4 MB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.4009, allocations: 26.94 kB / 471.5 MB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.401, allocations: 42.03 kB / 471.5 MB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.4011, allocations: 68.34 kB / 471.6 MB, free: 42.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.4015, allocations: 382.9 kB / 471.9 MB, free: 42.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4015, allocations: 0 / 471.9 MB, free: 42.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.4023, allocations: 187.4 kB / 472.1 MB, free: 42.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.4024, allocations: 125.3 kB / 472.2 MB, free: 42.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4037, allocations: 1.015 MB / 473.3 MB, free: 41.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4037, allocations: 0 / 473.3 MB, free: 41.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.4043, allocations: 0.7053 MB / 474 MB, free: 41.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.4049, allocations: 135.2 kB / 474.1 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.4068, allocations: 1.84 MB / 475.9 MB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4073, allocations: 1.034 MB / 477 MB, free: 39.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.4077, allocations: 154.6 kB / 477.1 MB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.4078, allocations: 50.81 kB / 477.2 MB, free: 39.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4078, allocations: 0 / 477.2 MB, free: 39.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01245/0.4202, allocations: 6.95 MB / 484.1 MB, free: 38.8 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: