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.001339/0.001339, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.391/1.391, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 116.5 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1668/0.1668, allocations: 37.92 MB / 330.9 MB, free: 7.324 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.222e-05, allocations: 0 / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08922, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4369, allocations: 94.3 MB / 0.5253 GB, free: 9.746 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.4371, allocations: 87.33 kB / 0.5254 GB, free: 9.734 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04013/0.4773, allocations: 16.72 MB / 0.5417 GB, free: 15.31 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4773, allocations: 4 kB / 0.5417 GB, free: 15.31 MB / 363.1 MB Notification: Performance of Transformations before backend: time 5.74e-05/0.4774, allocations: 20 kB / 0.5417 GB, free: 15.29 MB / 363.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.001726/0.4791, allocations: 1.006 MB / 0.5427 GB, free: 14.28 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4791, allocations: 8.031 kB / 0.5427 GB, free: 14.27 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4793, allocations: 94.88 kB / 0.5428 GB, free: 14.18 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.4834, allocations: 1.692 MB / 0.5445 GB, free: 12.75 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4835, allocations: 20 kB / 0.5445 GB, free: 12.73 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.4835, allocations: 36 kB / 0.5445 GB, free: 12.7 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008805/0.4844, allocations: 0.5571 MB / 0.5451 GB, free: 12.32 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4855, allocations: 0.7023 MB / 0.5457 GB, free: 11.75 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4855, allocations: 0 / 0.5457 GB, free: 11.75 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.4856, allocations: 7.984 kB / 0.5458 GB, free: 11.75 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.4856, allocations: 33.3 kB / 0.5458 GB, free: 11.71 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.4888, allocations: 2.527 MB / 0.5483 GB, free: 9.527 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/0.4896, allocations: 0.5759 MB / 0.5488 GB, free: 9.133 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.4901, allocations: 348.1 kB / 0.5491 GB, free: 8.887 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.4901, allocations: 12.44 kB / 0.5492 GB, free: 8.871 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.4907, allocations: 459.3 kB / 0.5496 GB, free: 8.465 MB / 363.1 MB Notification: Performance of pre-optimization done (n=63): time 1.883e-06/0.4907, allocations: 0 / 0.5496 GB, free: 8.465 MB / 363.1 MB Notification: Performance of matching and sorting (n=64): time 0.002107/0.4928, allocations: 1.471 MB / 0.551 GB, free: 7.203 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.4929, allocations: 255.6 kB / 0.5513 GB, free: 6.902 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.4934, allocations: 444.9 kB / 0.5517 GB, free: 6.555 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.4935, allocations: 33.45 kB / 0.5517 GB, free: 6.52 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.4937, allocations: 399.9 kB / 0.5521 GB, free: 6.234 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4938, allocations: 198.6 kB / 0.5523 GB, free: 6.062 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.4939, allocations: 0 / 0.5523 GB, free: 6.062 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.494, allocations: 384.9 kB / 0.5527 GB, free: 5.707 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.4943, allocations: 200.6 kB / 0.5529 GB, free: 5.578 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.4948, allocations: 434.1 kB / 0.5533 GB, free: 5.141 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.4951, allocations: 255.3 kB / 0.5535 GB, free: 4.965 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4951, allocations: 0 / 0.5535 GB, free: 4.965 MB / 363.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001232/0.4964, allocations: 0.7927 MB / 0.5543 GB, free: 4.316 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.4964, allocations: 63.39 kB / 0.5544 GB, free: 4.242 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.4964, allocations: 8 kB / 0.5544 GB, free: 4.234 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.4968, allocations: 118.7 kB / 0.5545 GB, free: 4.133 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.4973, allocations: 146.8 kB / 0.5546 GB, free: 3.992 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.4999, allocations: 3.079 MB / 0.5576 GB, free: 0.9414 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.5003, allocations: 27.97 kB / 0.5577 GB, free: 0.9141 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.5004, allocations: 59.58 kB / 0.5577 GB, free: 0.8633 MB / 363.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 () * 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.0001988/0.5006, allocations: 221.3 kB / 0.5579 GB, free: 0.6367 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.5007, allocations: 75.06 kB / 0.558 GB, free: 0.5625 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5017, allocations: 0.6516 MB / 0.5586 GB, free: 80 kB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5017, allocations: 4 kB / 0.5586 GB, free: 76 kB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5017, allocations: 4 kB / 0.5586 GB, free: 72 kB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5017, allocations: 3.984 kB / 0.5586 GB, free: 68 kB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.5037, allocations: 1.361 MB / 0.56 GB, free: 14.97 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5037, allocations: 0 / 0.56 GB, free: 14.97 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.5042, allocations: 106.9 kB / 0.5601 GB, free: 14.87 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5042, allocations: 4.094 kB / 0.5601 GB, free: 14.87 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.5043, allocations: 19.36 kB / 0.5601 GB, free: 14.85 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5043, allocations: 4 kB / 0.5601 GB, free: 14.85 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5043, allocations: 0 / 0.5601 GB, free: 14.85 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.5056, allocations: 1.107 MB / 0.5612 GB, free: 13.95 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.506, allocations: 187.6 kB / 0.5614 GB, free: 13.76 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.506, allocations: 7.375 kB / 0.5614 GB, free: 13.75 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.5064, allocations: 23.97 kB / 0.5614 GB, free: 13.73 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.5065, allocations: 42.52 kB / 0.5614 GB, free: 13.7 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.5066, allocations: 59.8 kB / 0.5615 GB, free: 13.64 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.5069, allocations: 339.3 kB / 0.5618 GB, free: 13.39 MB / 379.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5069, allocations: 0 / 0.5618 GB, free: 13.39 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0006991/0.5076, allocations: 164 kB / 0.562 GB, free: 13.23 MB / 379.1 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.0002433/0.5079, allocations: 178.2 kB / 0.5621 GB, free: 13.06 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.5091, allocations: 0.9221 MB / 0.563 GB, free: 12.26 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5091, allocations: 4.062 kB / 0.563 GB, free: 12.26 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.5096, allocations: 486.8 kB / 0.5635 GB, free: 11.88 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.5102, allocations: 134.9 kB / 0.5636 GB, free: 11.78 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.5121, allocations: 1.145 MB / 0.5647 GB, free: 10.73 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.5127, allocations: 1.022 MB / 0.5657 GB, free: 9.707 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.0004682/0.5131, allocations: 149.7 kB / 0.5659 GB, free: 9.559 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5133, allocations: 47.44 kB / 0.5659 GB, free: 9.516 MB / 379.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5133, allocations: 4 kB / 0.5659 GB, free: 9.512 MB / 379.1 MB Notification: Performance of Templates: time 0.01196/0.5252, allocations: 6.582 MB / 0.5724 GB, free: 2.988 MB / 379.1 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)