Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 89.45 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 180.3 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 223.4 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2942/0.2942, allocations: 38.05 MB / 309.7 MB, free: 8.895 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005185, allocations: 23.98 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09892, allocations: 56.33 MB / 432.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007013/0.106, allocations: 6.746 MB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.1102, allocations: 2.643 MB / 442.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.1109, allocations: 39.69 kB / 442.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.1115, allocations: 194.7 kB / 442.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.113, allocations: 0.6847 MB / 443.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.114, allocations: 415.2 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1157, allocations: 1.739 MB / 445.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.117, allocations: 0.7063 MB / 446 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008587/0.1179, allocations: 493.9 kB / 446.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.119, allocations: 0.7946 MB / 447.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.1191, allocations: 36 kB / 447.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.1196, allocations: 179.7 kB / 447.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004336/0.12, allocations: 0.491 MB / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1202, allocations: 209.1 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.1211, allocations: 0.9781 MB / 449.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1211, allocations: 4 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1211, allocations: 0 / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1211, allocations: 4 kB / 449.2 MB, free: 6.277 MB / 382.1 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.002052/0.1232, allocations: 1.139 MB / 450.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1233, allocations: 11.97 kB / 450.3 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.1242, allocations: 206.4 kB / 450.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1254, allocations: 0.658 MB / 451.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.1255, allocations: 65.98 kB / 451.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.1257, allocations: 91.92 kB / 451.3 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1276, allocations: 1.388 MB / 452.7 MB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.1276, allocations: 7.891 kB / 452.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.1277, allocations: 39.98 kB / 452.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/0.128, allocations: 117.9 kB / 452.9 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1296, allocations: 1.089 MB / 454 MB, free: 1.273 MB / 382.1 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.1863/0.3159, allocations: 5.949 MB / 459.9 MB, free: 47.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.317, allocations: 0.6973 MB / 460.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.3176, allocations: 318.4 kB / 460.9 MB, free: 47.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.3176, allocations: 17.66 kB / 461 MB, free: 47.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.3182, allocations: 466.8 kB / 461.4 MB, free: 46.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.795e-06/0.3182, allocations: 3.344 kB / 461.4 MB, free: 46.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002945/0.3212, allocations: 2.147 MB / 463.6 MB, free: 46.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.3212, allocations: 166.3 kB / 463.7 MB, free: 46.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/0.322, allocations: 0.636 MB / 464.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.322, allocations: 44.66 kB / 464.4 MB, free: 45.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.3223, allocations: 0.526 MB / 464.9 MB, free: 45.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.3225, allocations: 234 kB / 465.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.3226, allocations: 20.69 kB / 465.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.3226, allocations: 388.2 kB / 465.6 MB, free: 45.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.3231, allocations: 334.4 kB / 465.9 MB, free: 45.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.3238, allocations: 0.7605 MB / 466.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.3244, allocations: 0.5103 MB / 467.2 MB, free: 44.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.3245, allocations: 3.188 kB / 467.2 MB, free: 44.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002099/0.3266, allocations: 1.422 MB / 468.6 MB, free: 44.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.3266, allocations: 44.78 kB / 468.6 MB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001146/0.3278, allocations: 0.7829 MB / 469.4 MB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.3284, allocations: 259.3 kB / 469.7 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.329, allocations: 212.5 kB / 469.9 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.3323, allocations: 4.034 MB / 473.9 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.333, allocations: 60.08 kB / 474 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.3332, allocations: 63.12 kB / 474 MB, free: 40.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (119): * Single equations (assignments): 116 * Array equations: 0 * 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.0005685/0.3337, allocations: 398.5 kB / 474.4 MB, free: 40.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3339, allocations: 79.2 kB / 474.5 MB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3351, allocations: 0.8452 MB / 475.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.3351, allocations: 10.2 kB / 475.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3351, allocations: 0 / 475.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3351, allocations: 6.766 kB / 475.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.3375, allocations: 1.765 MB / 477.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3375, allocations: 3.156 kB / 477.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.3382, allocations: 153.4 kB / 477.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.3382, allocations: 3.406 kB / 477.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.3382, allocations: 28.67 kB / 477.3 MB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3383, allocations: 3.25 kB / 477.3 MB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3383, allocations: 0 / 477.3 MB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3397, allocations: 1.296 MB / 478.6 MB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.3399, allocations: 202.7 kB / 478.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3401, allocations: 17.69 kB / 478.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.3404, allocations: 33.81 kB / 478.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.3405, allocations: 51.19 kB / 478.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.3406, allocations: 41.78 kB / 478.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.341, allocations: 420 kB / 479.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.341, allocations: 0 / 479.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000873/0.3419, allocations: 230.9 kB / 479.6 MB, free: 38.16 MB / 382.1 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 (64): * Single equations (assignments): 62 * Array equations: 0 * 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.0001326/0.342, allocations: 128.4 kB / 479.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.3436, allocations: 1.217 MB / 480.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3436, allocations: 1.75 kB / 480.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.3441, allocations: 464.8 kB / 481.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.3449, allocations: 136 kB / 481.5 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3479, allocations: 2.37 MB / 483.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.3484, allocations: 1.113 MB / 485 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006971/0.3491, allocations: 297 kB / 485.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3493, allocations: 54.62 kB / 485.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3493, allocations: 3.094 kB / 485.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01595/0.3653, allocations: 7.817 MB / 493.1 MB, free: 34.57 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: