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.001525/0.001525, allocations: 183.1 kB / 15.76 MB, free: 6.34 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 2.001/2.001, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001101/0.001101, allocations: 86.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2752/0.2752, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 19.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 56.32 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5044/0.6117, allocations: 110 MB / 0.5752 GB, free: 6.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.6121, allocations: 94.14 kB / 0.5753 GB, free: 6.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2245/0.8366, allocations: 48.98 MB / 0.6231 GB, free: 11.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.8367, allocations: 0 / 0.6231 GB, free: 11.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.8368, allocations: 39.94 kB / 0.6232 GB, free: 11.73 MB / 426.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.006506/0.8433, allocations: 1.749 MB / 0.6249 GB, free: 10.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8434, allocations: 8.031 kB / 0.6249 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004846/0.8483, allocations: 441.4 kB / 0.6253 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008402/0.8567, allocations: 2.104 MB / 0.6274 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.8569, allocations: 101.8 kB / 0.6275 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.8574, allocations: 151.1 kB / 0.6276 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006068/0.8635, allocations: 2.255 MB / 0.6298 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.997e-05/0.8636, allocations: 7.938 kB / 0.6298 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.8638, allocations: 59.97 kB / 0.6299 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005603/0.8644, allocations: 182.8 kB / 0.63 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.8695, allocations: 1.744 MB / 0.6317 GB, free: 3.434 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01866/0.8882, allocations: 9.296 MB / 0.6408 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.8922, allocations: 1.479 MB / 0.6423 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.8924, allocations: 13.06 kB / 0.6423 GB, free: 8.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.8945, allocations: 0.9308 MB / 0.6432 GB, free: 7.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 4.919e-06/0.8946, allocations: 4 kB / 0.6432 GB, free: 7.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=143): time 0.01271/0.9073, allocations: 4.742 MB / 0.6478 GB, free: 2.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.9075, allocations: 294.6 kB / 0.6481 GB, free: 1.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.9091, allocations: 0.7559 MB / 0.6488 GB, free: 1.094 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.9093, allocations: 53.7 kB / 0.6489 GB, free: 1.035 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.9101, allocations: 0.7423 MB / 0.6496 GB, free: 288 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.9109, allocations: 489.3 kB / 0.6501 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.911, allocations: 35.98 kB / 0.6501 GB, free: 15.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9113, allocations: 390.5 kB / 0.6505 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.913, allocations: 0.6207 MB / 0.6511 GB, free: 14.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.9151, allocations: 1.162 MB / 0.6522 GB, free: 13.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.9173, allocations: 0.884 MB / 0.6531 GB, free: 12.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.9173, allocations: 11.94 kB / 0.6531 GB, free: 12.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007545/0.9249, allocations: 2.489 MB / 0.6555 GB, free: 9.918 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/0.925, allocations: 75.16 kB / 0.6556 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005456/0.9305, allocations: 1.702 MB / 0.6573 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.9333, allocations: 0.5437 MB / 0.6578 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.9355, allocations: 331.4 kB / 0.6581 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.9512, allocations: 8.91 MB / 0.6668 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.9531, allocations: 99.94 kB / 0.6669 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.9534, allocations: 95.95 kB / 0.667 GB, free: 13.62 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 () * Number of clocked 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.001453/0.9549, allocations: 0.5919 MB / 0.6676 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.9552, allocations: 126.5 kB / 0.6677 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.9599, allocations: 1.695 MB / 0.6694 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/0.96, allocations: 23.98 kB / 0.6694 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.96, allocations: 0 / 0.6694 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.96, allocations: 3.984 kB / 0.6694 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/0.9687, allocations: 3.22 MB / 0.6725 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.9687, allocations: 4 kB / 0.6725 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/0.9715, allocations: 311.6 kB / 0.6728 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.9716, allocations: 8.078 kB / 0.6728 GB, free: 7.512 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.9717, allocations: 39.98 kB / 0.6729 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.9718, allocations: 4 kB / 0.6729 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.9718, allocations: 7.938 kB / 0.6729 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/0.9782, allocations: 2.645 MB / 0.6755 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.9794, allocations: 315.5 kB / 0.6758 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.9798, allocations: 31.98 kB / 0.6758 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.981, allocations: 63.84 kB / 0.6759 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.9813, allocations: 80.83 kB / 0.6759 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.9815, allocations: 87.91 kB / 0.676 GB, free: 4.137 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.9828, allocations: 0.5703 MB / 0.6766 GB, free: 3.555 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.9829, allocations: 4 kB / 0.6766 GB, free: 3.551 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002561/0.9854, allocations: 467.9 kB / 0.677 GB, free: 3.094 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) * Number of clocked states: 0 () * 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.0006315/0.9861, allocations: 231.8 kB / 0.6773 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006116/0.9923, allocations: 2.423 MB / 0.6796 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9923, allocations: 0.5625 kB / 0.6796 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.9946, allocations: 0.9573 MB / 0.6806 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.9961, allocations: 192 kB / 0.6807 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/1.006, allocations: 4.257 MB / 0.6849 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.008, allocations: 1.49 MB / 0.6864 GB, free: 9.348 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/1.009, allocations: 107.4 kB / 0.6865 GB, free: 9.242 MB / 490.7 MB Notification: Performance of SimCode: time 4.008e-06/1.009, allocations: 0 / 0.6865 GB, free: 9.242 MB / 490.7 MB Notification: Performance of Templates: time 0.3761/1.385, allocations: 27.82 MB / 0.7136 GB, free: 145.8 MB / 0.4948 GB 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)