Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002213, allocations: 185 kB / 13.19 MB, free: 2.125 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 1.991/1.991, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001958/0.001958, allocations: 95.16 kB / 267.1 MB, free: 9.273 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.2753/0.2753, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.247e-05, allocations: 7.984 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.5941, allocations: 110.1 MB / 0.5695 GB, free: 9.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.5945, allocations: 87.95 kB / 0.5696 GB, free: 9.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1406/0.7352, allocations: 29.72 MB / 0.5986 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7352, allocations: 0 / 0.5986 GB, free: 11.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.754e-05/0.7353, allocations: 20 kB / 0.5986 GB, free: 11.44 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003762/0.7391, allocations: 1.105 MB / 0.5997 GB, free: 10.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.7392, allocations: 8.031 kB / 0.5997 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.742, allocations: 262.4 kB / 0.6 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006334/0.7484, allocations: 1.43 MB / 0.6014 GB, free: 8.543 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-05/0.7485, allocations: 69.97 kB / 0.6014 GB, free: 8.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.7488, allocations: 75.98 kB / 0.6015 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.7523, allocations: 1.337 MB / 0.6028 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.507e-05/0.7524, allocations: 7.938 kB / 0.6028 GB, free: 6.953 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.7526, allocations: 35.98 kB / 0.6029 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002906/0.7529, allocations: 97.94 kB / 0.603 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.756, allocations: 1.015 MB / 0.6039 GB, free: 5.805 MB / 442.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.01132/0.7674, allocations: 5.762 MB / 0.6096 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.7694, allocations: 0.8234 MB / 0.6104 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000939/0.7704, allocations: 363.4 kB / 0.6107 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.7705, allocations: 12.47 kB / 0.6107 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.7717, allocations: 0.5137 MB / 0.6112 GB, free: 13.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 3.466e-06/0.7717, allocations: 0 / 0.6112 GB, free: 13.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.005269/0.777, allocations: 2.08 MB / 0.6133 GB, free: 11.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.7772, allocations: 166.7 kB / 0.6134 GB, free: 11.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7782, allocations: 0.5382 MB / 0.614 GB, free: 11.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7784, allocations: 37.7 kB / 0.614 GB, free: 11.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.7789, allocations: 0.5395 MB / 0.6145 GB, free: 10.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.7793, allocations: 260.4 kB / 0.6148 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.7794, allocations: 20.03 kB / 0.6148 GB, free: 10.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7796, allocations: 362.8 kB / 0.6151 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/0.7806, allocations: 366.5 kB / 0.6155 GB, free: 9.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.782, allocations: 0.757 MB / 0.6162 GB, free: 8.535 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.7833, allocations: 0.5265 MB / 0.6167 GB, free: 8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.7834, allocations: 4 kB / 0.6167 GB, free: 7.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00439/0.7878, allocations: 1.427 MB / 0.6181 GB, free: 6.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.7879, allocations: 41.69 kB / 0.6182 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00284/0.7907, allocations: 0.876 MB / 0.619 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.792, allocations: 250.9 kB / 0.6193 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.7937, allocations: 219.6 kB / 0.6195 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007026/0.8007, allocations: 4.032 MB / 0.6234 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.802, allocations: 63.95 kB / 0.6235 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.8022, allocations: 63.91 kB / 0.6235 GB, free: 0.7305 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.8026, allocations: 198.3 kB / 0.6237 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.8028, allocations: 83.11 kB / 0.6238 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.8054, allocations: 0.9415 MB / 0.6247 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/0.8055, allocations: 19.98 kB / 0.6247 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8055, allocations: 3.984 kB / 0.6247 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.8056, allocations: 7.984 kB / 0.6248 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005239/0.8108, allocations: 1.916 MB / 0.6266 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.8109, allocations: 4 kB / 0.6266 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.8125, allocations: 168 kB / 0.6268 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.8125, allocations: 4 kB / 0.6268 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.8126, allocations: 27.92 kB / 0.6268 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.8127, allocations: 11.92 kB / 0.6268 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8127, allocations: 0 / 0.6268 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.8162, allocations: 1.523 MB / 0.6283 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.8168, allocations: 212.1 kB / 0.6285 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.817, allocations: 20 kB / 0.6285 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.8178, allocations: 51.88 kB / 0.6286 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.818, allocations: 36.52 kB / 0.6286 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.8182, allocations: 43.95 kB / 0.6287 GB, free: 11.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000828/0.819, allocations: 411.1 kB / 0.6291 GB, free: 10.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.819, allocations: 4 kB / 0.6291 GB, free: 10.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001511/0.8206, allocations: 263.9 kB / 0.6293 GB, free: 10.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 1 * 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.0004731/0.8211, allocations: 187 kB / 0.6295 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003314/0.8244, allocations: 1.274 MB / 0.6307 GB, free: 9.105 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8245, allocations: 0 / 0.6307 GB, free: 9.105 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.8257, allocations: 0.5029 MB / 0.6312 GB, free: 8.594 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.8269, allocations: 126.9 kB / 0.6313 GB, free: 8.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.8318, allocations: 1.702 MB / 0.633 GB, free: 6.715 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.833, allocations: 1.135 MB / 0.6341 GB, free: 5.551 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.8335, allocations: 67.42 kB / 0.6342 GB, free: 5.484 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/0.8336, allocations: 0 / 0.6342 GB, free: 5.484 MB / 474.7 MB Notification: Performance of Templates: time 0.3337/1.167, allocations: 14.08 MB / 0.6479 GB, free: 128.7 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)