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.001537/0.001537, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 78.66 kB / 261.8 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2627/0.2627, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.174e-05, allocations: 0 / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5447/0.6511, allocations: 109.2 MB / 0.5619 GB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004119/0.6516, allocations: 97.17 kB / 0.562 GB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3433/0.9949, allocations: 48.53 MB / 0.6094 GB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.995, allocations: 3.938 kB / 0.6094 GB, free: 9.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001896/0.9952, allocations: 39.94 kB / 0.6094 GB, free: 9.336 MB / 410.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.008758/1.004, allocations: 1.581 MB / 0.611 GB, free: 7.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.678e-05/1.004, allocations: 15.97 kB / 0.611 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007475/1.012, allocations: 449.3 kB / 0.6114 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008925/1.021, allocations: 2.063 MB / 0.6134 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.021, allocations: 44 kB / 0.6135 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005783/1.021, allocations: 91.89 kB / 0.6136 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004917/1.026, allocations: 1.536 MB / 0.6151 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006313/1.033, allocations: 2.022 MB / 0.617 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.733e-05/1.033, allocations: 7.938 kB / 0.617 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.033, allocations: 12 kB / 0.6171 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005677/1.034, allocations: 182.8 kB / 0.6172 GB, free: 1.316 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01963/1.053, allocations: 8.966 MB / 0.626 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/1.057, allocations: 1.398 MB / 0.6274 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.059, allocations: 0.6288 MB / 0.628 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/1.059, allocations: 17.3 kB / 0.628 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/1.061, allocations: 0.884 MB / 0.6288 GB, free: 4.898 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 4.899e-06/1.061, allocations: 0 / 0.6288 GB, free: 4.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.009929/1.071, allocations: 3.433 MB / 0.6322 GB, free: 1.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/1.071, allocations: 278.3 kB / 0.6325 GB, free: 1.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.072, allocations: 0.7006 MB / 0.6331 GB, free: 356 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003048/1.073, allocations: 37.77 kB / 0.6332 GB, free: 312 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/1.074, allocations: 0.7503 MB / 0.6339 GB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009187/1.075, allocations: 477.1 kB / 0.6344 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.075, allocations: 0 / 0.6344 GB, free: 15.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000258/1.075, allocations: 378.8 kB / 0.6347 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/1.077, allocations: 0.5779 MB / 0.6353 GB, free: 14.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/1.079, allocations: 1.108 MB / 0.6364 GB, free: 12.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/1.081, allocations: 0.8024 MB / 0.6372 GB, free: 11.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/1.081, allocations: 7.781 kB / 0.6372 GB, free: 11.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0077/1.089, allocations: 2.244 MB / 0.6394 GB, free: 9.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.695e-05/1.089, allocations: 71.41 kB / 0.6394 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005487/1.095, allocations: 1.589 MB / 0.641 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/1.098, allocations: 0.5332 MB / 0.6415 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.1, allocations: 327.4 kB / 0.6418 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/1.117, allocations: 8.288 MB / 0.6499 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/1.119, allocations: 59.91 kB / 0.65 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/1.119, allocations: 100.1 kB / 0.6501 GB, free: 14.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (170): * Single equations (assignments): 161 * 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,(3,77.8%) 10,(2,100.0%) 12,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005321/1.12, allocations: 237.5 kB / 0.6503 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/1.12, allocations: 122.5 kB / 0.6504 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/1.125, allocations: 1.52 MB / 0.6519 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/1.125, allocations: 23.94 kB / 0.6519 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.125, allocations: 11.95 kB / 0.6519 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.125, allocations: 7.969 kB / 0.6519 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/1.134, allocations: 2.856 MB / 0.6547 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.134, allocations: 8.031 kB / 0.6547 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.137, allocations: 311.6 kB / 0.655 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/1.137, allocations: 4 kB / 0.655 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.137, allocations: 19.98 kB / 0.655 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.137, allocations: 15.98 kB / 0.6551 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.137, allocations: 0 / 0.6551 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/1.143, allocations: 2.46 MB / 0.6575 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.144, allocations: 315.5 kB / 0.6578 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.145, allocations: 15.98 kB / 0.6578 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.146, allocations: 47.84 kB / 0.6578 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/1.146, allocations: 89.09 kB / 0.6579 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.147, allocations: 71.92 kB / 0.658 GB, free: 5.934 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001141/1.148, allocations: 0.5193 MB / 0.6585 GB, free: 5.402 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.148, allocations: 0 / 0.6585 GB, free: 5.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002748/1.151, allocations: 408.1 kB / 0.6589 GB, free: 5.004 MB / 458.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) * 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.0006383/1.151, allocations: 207.8 kB / 0.6591 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005971/1.157, allocations: 2.264 MB / 0.6613 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.157, allocations: 0 / 0.6613 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.16, allocations: 0.9096 MB / 0.6622 GB, free: 1.531 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.161, allocations: 172.1 kB / 0.6623 GB, free: 1.363 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/1.17, allocations: 2.936 MB / 0.6652 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/1.173, allocations: 1.498 MB / 0.6667 GB, free: 12.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/1.173, allocations: 103.4 kB / 0.6668 GB, free: 12.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/1.173, allocations: 0 / 0.6668 GB, free: 12.73 MB / 474.7 MB Notification: Performance of Templates: time 0.08865/1.262, allocations: 27.67 MB / 0.6938 GB, free: 1.004 MB / 490.7 MB 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)