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.0009851/0.0009851, allocations: 179.5 kB / 16.38 MB, free: 5.762 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.168/1.168, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001506/0.001506, allocations: 123.4 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1586/0.1586, allocations: 38 MB / 340.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 19.98 kB / 403.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08118, allocations: 53.22 MB / 457 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.377, allocations: 95.07 MB / 0.5391 GB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3773, allocations: 93.88 kB / 0.5392 GB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04439/0.4217, allocations: 16.91 MB / 0.5557 GB, free: 1.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4217, allocations: 0 / 0.5557 GB, free: 1.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.4218, allocations: 20 kB / 0.5558 GB, free: 1.594 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00183/0.4236, allocations: 1.115 MB / 0.5568 GB, free: 484 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4236, allocations: 12.02 kB / 0.5569 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4238, allocations: 94.88 kB / 0.5569 GB, free: 376 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.4278, allocations: 1.703 MB / 0.5586 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.4278, allocations: 47.25 kB / 0.5587 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.4279, allocations: 61.19 kB / 0.5587 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.429, allocations: 0.8009 MB / 0.5595 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4291, allocations: 4 kB / 0.5595 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.4291, allocations: 24.55 kB / 0.5595 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.4292, allocations: 35.5 kB / 0.5596 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.4302, allocations: 0.6193 MB / 0.5602 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.4335, allocations: 2.642 MB / 0.5627 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.4343, allocations: 0.6202 MB / 0.5633 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4344, allocations: 4.5 kB / 0.5634 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/0.4349, allocations: 490.9 kB / 0.5638 GB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.285e-06/0.4349, allocations: 0 / 0.5638 GB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003/0.4379, allocations: 2.517 MB / 0.5663 GB, free: 8.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.438, allocations: 247.1 kB / 0.5665 GB, free: 7.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.4386, allocations: 499.3 kB / 0.567 GB, free: 7.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4386, allocations: 44.02 kB / 0.567 GB, free: 7.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4389, allocations: 399.3 kB / 0.5674 GB, free: 7.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.4391, allocations: 215.8 kB / 0.5676 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4391, allocations: 10.62 kB / 0.5676 GB, free: 7.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4393, allocations: 391 kB / 0.568 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.4396, allocations: 221.7 kB / 0.5682 GB, free: 6.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.44, allocations: 463.7 kB / 0.5687 GB, free: 6.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.4405, allocations: 339.1 kB / 0.569 GB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4405, allocations: 0 / 0.569 GB, free: 5.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001379/0.4418, allocations: 0.9667 MB / 0.5699 GB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.4419, allocations: 63.39 kB / 0.57 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4419, allocations: 8.469 kB / 0.57 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.4423, allocations: 131.1 kB / 0.5701 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.4428, allocations: 139.2 kB / 0.5702 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.4456, allocations: 3.251 MB / 0.5734 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.4461, allocations: 36.48 kB / 0.5735 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.4462, allocations: 65.81 kB / 0.5735 GB, free: 1.52 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 () * 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.0004471/0.4466, allocations: 355.7 kB / 0.5739 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.4467, allocations: 75.14 kB / 0.5739 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.448, allocations: 0.988 MB / 0.5749 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.448, allocations: 4 kB / 0.5749 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.448, allocations: 0 / 0.5749 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.448, allocations: 7.938 kB / 0.5749 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.45, allocations: 1.705 MB / 0.5766 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.45, allocations: 4.031 kB / 0.5766 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.4505, allocations: 107.4 kB / 0.5767 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.4506, allocations: 45.5 kB / 0.5767 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.4507, allocations: 19.48 kB / 0.5767 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.4524, allocations: 2.753 MB / 0.5794 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4524, allocations: 3.984 kB / 0.5794 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.4541, allocations: 1.429 MB / 0.5808 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4544, allocations: 187.3 kB / 0.581 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.4545, allocations: 19.83 kB / 0.581 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.4548, allocations: 39.72 kB / 0.5811 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.455, allocations: 36.08 kB / 0.5811 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.455, allocations: 62.17 kB / 0.5812 GB, free: 10.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004459/0.4555, allocations: 388.2 kB / 0.5815 GB, free: 9.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4555, allocations: 0 / 0.5815 GB, free: 9.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007571/0.4563, allocations: 199.4 kB / 0.5817 GB, free: 9.812 MB / 394.7 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.0002727/0.4565, allocations: 164.8 kB / 0.5819 GB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.4578, allocations: 1.015 MB / 0.5829 GB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4579, allocations: 0 / 0.5829 GB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4585, allocations: 0.7059 MB / 0.5836 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.4591, allocations: 133.1 kB / 0.5837 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.4615, allocations: 1.848 MB / 0.5855 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.4621, allocations: 1.026 MB / 0.5865 GB, free: 5.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004824/0.4626, allocations: 145.9 kB / 0.5866 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4627, allocations: 54.42 kB / 0.5867 GB, free: 5.109 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4628, allocations: 0 / 0.5867 GB, free: 5.109 MB / 394.7 MB Notification: Performance of Templates: time 0.01419/0.4769, allocations: 7.665 MB / 0.5942 GB, free: 13.46 MB / 410.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)