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.001556/0.001555, allocations: 181.8 kB / 15.76 MB, free: 6.344 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.967/1.967, allocations: 205.4 MB / 221.9 MB, free: 13.61 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.00115/0.001149, allocations: 98.73 kB / 270.2 MB, free: 13.13 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.2551/0.2551, allocations: 38.05 MB / 356.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004721, allocations: 16 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 56.32 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6302/0.7366, allocations: 110.2 MB / 0.5754 GB, free: 5.988 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/0.7371, allocations: 98.72 kB / 0.5755 GB, free: 5.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1557/0.8929, allocations: 29.74 MB / 0.6045 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8929, allocations: 0 / 0.6045 GB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.535e-05/0.893, allocations: 27.98 kB / 0.6045 GB, free: 12.2 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004309/0.8974, allocations: 1.197 MB / 0.6057 GB, free: 11.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8974, allocations: 15.97 kB / 0.6057 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.9004, allocations: 250.5 kB / 0.606 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/0.9066, allocations: 1.445 MB / 0.6074 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.9068, allocations: 61.05 kB / 0.6074 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.9071, allocations: 90.53 kB / 0.6075 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.9105, allocations: 1.339 MB / 0.6088 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.9106, allocations: 15.83 kB / 0.6089 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.9107, allocations: 36.55 kB / 0.6089 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/0.911, allocations: 92.52 kB / 0.609 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.9141, allocations: 1.029 MB / 0.61 GB, free: 7.438 MB / 410.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.01155/0.9257, allocations: 5.77 MB / 0.6156 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.9279, allocations: 0.8329 MB / 0.6164 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.928, allocations: 4.562 kB / 0.6164 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.9292, allocations: 0.5275 MB / 0.6169 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 4.599e-06/0.9292, allocations: 0 / 0.6169 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.006368/0.9356, allocations: 2.623 MB / 0.6195 GB, free: 14.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.9358, allocations: 166.5 kB / 0.6197 GB, free: 14.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.9368, allocations: 0.5374 MB / 0.6202 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9369, allocations: 41.12 kB / 0.6202 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.9375, allocations: 0.5474 MB / 0.6208 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.9379, allocations: 247 kB / 0.621 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.938, allocations: 23.42 kB / 0.621 GB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9382, allocations: 366.2 kB / 0.6214 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.9392, allocations: 371.6 kB / 0.6217 GB, free: 12.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.9405, allocations: 0.7623 MB / 0.6225 GB, free: 11.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.9419, allocations: 0.534 MB / 0.623 GB, free: 11.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.9419, allocations: 4 kB / 0.623 GB, free: 11.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00437/0.9463, allocations: 1.45 MB / 0.6244 GB, free: 10.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.9464, allocations: 37.7 kB / 0.6245 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002868/0.9493, allocations: 0.8817 MB / 0.6253 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.9506, allocations: 253.5 kB / 0.6256 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9523, allocations: 219.6 kB / 0.6258 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007417/0.9597, allocations: 4.132 MB / 0.6298 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.961, allocations: 67.84 kB / 0.6299 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.9612, allocations: 59.92 kB / 0.6299 GB, free: 4.512 MB / 426.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 () * Number of clocked 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.000934/0.9621, allocations: 407 kB / 0.6303 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.9624, allocations: 75.06 kB / 0.6304 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.9651, allocations: 0.9469 MB / 0.6313 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-05/0.9652, allocations: 12 kB / 0.6313 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9652, allocations: 7.891 kB / 0.6313 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.9652, allocations: 3.984 kB / 0.6313 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.9704, allocations: 1.934 MB / 0.6332 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.9705, allocations: 64 / 0.6332 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.9721, allocations: 168 kB / 0.6334 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.9721, allocations: 8 kB / 0.6334 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.9722, allocations: 23.98 kB / 0.6334 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.9722, allocations: 7.938 kB / 0.6334 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9722, allocations: 0 / 0.6334 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.9758, allocations: 1.543 MB / 0.6349 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.9764, allocations: 208.1 kB / 0.6351 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.9765, allocations: 16 kB / 0.6351 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.9773, allocations: 48.03 kB / 0.6352 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.9775, allocations: 48.48 kB / 0.6352 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9776, allocations: 39.95 kB / 0.6353 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008117/0.9784, allocations: 411 kB / 0.6357 GB, free: 14.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9785, allocations: 0 / 0.6357 GB, free: 14.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001475/0.9799, allocations: 275.9 kB / 0.6359 GB, free: 14.16 MB / 442.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) * Number of clocked states: 0 () * 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.0004312/0.9804, allocations: 177.8 kB / 0.6361 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.9837, allocations: 1.3 MB / 0.6374 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9837, allocations: 0 / 0.6374 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.9849, allocations: 0.5069 MB / 0.6379 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.9861, allocations: 126.8 kB / 0.638 GB, free: 11.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.9923, allocations: 2.497 MB / 0.6404 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.9936, allocations: 1.139 MB / 0.6415 GB, free: 8.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.994, allocations: 71.36 kB / 0.6416 GB, free: 8.203 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.9941, allocations: 0 / 0.6416 GB, free: 8.203 MB / 442.7 MB Notification: Performance of Templates: time 0.03338/1.027, allocations: 14.09 MB / 0.6554 GB, free: 10.11 MB / 458.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)