Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 173.4 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 222.2 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007177/0.0007177, allocations: 90.36 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1706/0.1706, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005891/0.2164, allocations: 6.782 MB / 486.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.2205, allocations: 2.638 MB / 489 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.2213, allocations: 42.78 kB / 489.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.222, allocations: 223.3 kB / 489.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.2237, allocations: 0.6925 MB / 490 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2251, allocations: 439 kB / 490.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.2272, allocations: 1.742 MB / 492.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.2285, allocations: 0.7641 MB / 492.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009457/0.2295, allocations: 489 kB / 493.4 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.2307, allocations: 0.7976 MB / 494.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.2309, allocations: 41.97 kB / 494.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/0.2315, allocations: 261 kB / 494.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.232, allocations: 498.6 kB / 495 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.2326, allocations: 486.9 kB / 495.5 MB, free: 248 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2337, allocations: 0.9802 MB / 496.4 MB, free: 32 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2337, allocations: 8.938 kB / 496.5 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2337, allocations: 0 / 496.5 MB, free: 24 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.2337, allocations: 0 / 496.5 MB, free: 24 kB / 314.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.002149/0.2359, allocations: 1.13 MB / 497.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2359, allocations: 13.02 kB / 497.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.237, allocations: 201.9 kB / 497.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2381, allocations: 0.676 MB / 498.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.2382, allocations: 63.78 kB / 498.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.2384, allocations: 95.8 kB / 498.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.2405, allocations: 1.383 MB / 0.4883 GB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.2406, allocations: 8.188 kB / 0.4883 GB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2407, allocations: 37.3 kB / 0.4883 GB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/0.2409, allocations: 120.2 kB / 0.4884 GB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.2427, allocations: 1.089 MB / 0.4895 GB, free: 12.96 MB / 330.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.006583/0.2493, allocations: 5.969 MB / 0.4953 GB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2503, allocations: 0.7085 MB / 0.496 GB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.2508, allocations: 318.2 kB / 0.4963 GB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.2509, allocations: 10.94 kB / 0.4963 GB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.2516, allocations: 479 kB / 0.4968 GB, free: 6.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 3.306e-06/0.2516, allocations: 0 / 0.4968 GB, free: 6.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.003332/0.2549, allocations: 2.147 MB / 0.4989 GB, free: 5.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.255, allocations: 168.4 kB / 0.4991 GB, free: 5.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.2558, allocations: 0.6319 MB / 0.4997 GB, free: 5.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.2558, allocations: 38.14 kB / 0.4997 GB, free: 5.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.2562, allocations: 0.5237 MB / 0.5002 GB, free: 4.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.2564, allocations: 230.4 kB / 0.5004 GB, free: 4.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2565, allocations: 20.22 kB / 0.5005 GB, free: 4.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2566, allocations: 395.4 kB / 0.5008 GB, free: 3.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.2571, allocations: 334.9 kB / 0.5012 GB, free: 3.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.2579, allocations: 0.7667 MB / 0.5019 GB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2593, allocations: 1.235 MB / 0.5031 GB, free: 1.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.2593, allocations: 8 kB / 0.5031 GB, free: 1.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002386/0.2617, allocations: 1.435 MB / 0.5045 GB, free: 216 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.2618, allocations: 45.77 kB / 0.5046 GB, free: 164 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001348/0.2631, allocations: 0.778 MB / 0.5053 GB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.2638, allocations: 260.9 kB / 0.5056 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.2645, allocations: 211.6 kB / 0.5058 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.2685, allocations: 4.033 MB / 0.5097 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.2692, allocations: 59.88 kB / 0.5098 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2693, allocations: 67.98 kB / 0.5098 GB, free: 10.48 MB / 346.7 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.0005923/0.2699, allocations: 398.9 kB / 0.5102 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2701, allocations: 75.06 kB / 0.5103 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2714, allocations: 0.8438 MB / 0.5111 GB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2714, allocations: 8 kB / 0.5111 GB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2714, allocations: 0 / 0.5111 GB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2714, allocations: 7.922 kB / 0.5111 GB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.274, allocations: 1.767 MB / 0.5129 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.274, allocations: 3.938 kB / 0.5129 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.2747, allocations: 143.8 kB / 0.513 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2747, allocations: 4 kB / 0.513 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.2748, allocations: 20 kB / 0.513 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.2748, allocations: 11.92 kB / 0.513 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2748, allocations: 0 / 0.513 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.2765, allocations: 1.293 MB / 0.5143 GB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.2768, allocations: 208.1 kB / 0.5145 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.2769, allocations: 23.98 kB / 0.5145 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.2772, allocations: 31.92 kB / 0.5145 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.2773, allocations: 40.5 kB / 0.5146 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.2774, allocations: 47.89 kB / 0.5146 GB, free: 5.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004904/0.2779, allocations: 419 kB / 0.515 GB, free: 4.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2779, allocations: 0 / 0.515 GB, free: 4.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009291/0.2789, allocations: 236 kB / 0.5153 GB, free: 4.762 MB / 346.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 (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.0001599/0.279, allocations: 126.5 kB / 0.5154 GB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.2809, allocations: 1.218 MB / 0.5166 GB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2809, allocations: 4.062 kB / 0.5166 GB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.2815, allocations: 462.3 kB / 0.517 GB, free: 2.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/0.2825, allocations: 131.8 kB / 0.5171 GB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.2859, allocations: 2.461 MB / 0.5195 GB, free: 280 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.2866, allocations: 1.111 MB / 0.5206 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.2868, allocations: 71.42 kB / 0.5207 GB, free: 15.06 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2868, allocations: 0 / 0.5207 GB, free: 15.06 MB / 362.7 MB Notification: Performance of Templates: time 0.01784/0.3047, allocations: 13.85 MB / 0.5342 GB, free: 1.203 MB / 362.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)