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.0009813/0.0009812, allocations: 93.88 kB / 16.3 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.001261/0.001261, allocations: 180.2 kB / 17.19 MB, free: 6.34 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.596/1.596, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1813/0.1813, allocations: 38.03 MB / 309.7 MB, free: 6.145 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.0005803/0.0005803, allocations: 16 kB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3069, allocations: 56.34 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00558/0.3126, allocations: 6.45 MB / 439.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.3166, allocations: 2.632 MB / 441.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.3173, allocations: 39.69 kB / 441.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.3179, allocations: 190.9 kB / 442.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.3195, allocations: 0.5141 MB / 442.6 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.3206, allocations: 415.1 kB / 443 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.3214, allocations: 0.6367 MB / 443.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009486/0.3223, allocations: 0.7061 MB / 444.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.3228, allocations: 394.6 kB / 444.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.3235, allocations: 0.5141 MB / 445.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.3235, allocations: 36 kB / 445.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.3239, allocations: 175.7 kB / 445.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.3242, allocations: 454.9 kB / 445.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3244, allocations: 205.1 kB / 446.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.3251, allocations: 0.9781 MB / 447.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3251, allocations: 0 / 447.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3251, allocations: 0 / 447.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3251, allocations: 0 / 447.1 MB, free: 4.48 MB / 318.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.001837/0.327, allocations: 1.151 MB / 448.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.327, allocations: 12.03 kB / 448.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.328, allocations: 218.4 kB / 448.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3291, allocations: 0.658 MB / 449.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.3291, allocations: 58 kB / 449.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3293, allocations: 95.95 kB / 449.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3308, allocations: 1.364 MB / 450.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3309, allocations: 7.938 kB / 450.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.331, allocations: 43.91 kB / 450.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.3312, allocations: 121.9 kB / 450.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.333, allocations: 1.077 MB / 451.9 MB, free: 15.47 MB / 334.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.007779/0.3407, allocations: 5.957 MB / 457.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3419, allocations: 0.7243 MB / 458.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.342, allocations: 9.094 kB / 458.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006553/0.3427, allocations: 476.5 kB / 459.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.745e-06/0.3427, allocations: 0 / 459.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003566/0.3462, allocations: 2.209 MB / 461.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3464, allocations: 170.8 kB / 461.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006953/0.3471, allocations: 0.6288 MB / 462.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.3472, allocations: 41.7 kB / 462.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.3476, allocations: 0.5249 MB / 462.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.3478, allocations: 236.8 kB / 462.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.3479, allocations: 27.94 kB / 462.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.3482, allocations: 386.8 kB / 463.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.3487, allocations: 334.4 kB / 463.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.3496, allocations: 0.762 MB / 464.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.3504, allocations: 495.5 kB / 464.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3504, allocations: 8 kB / 464.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002284/0.3527, allocations: 1.423 MB / 466.3 MB, free: 352 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.932e-05/0.3528, allocations: 45.59 kB / 466.3 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001604/0.3544, allocations: 0.7664 MB / 467.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.3551, allocations: 261.7 kB / 467.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.3558, allocations: 227.6 kB / 467.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.3603, allocations: 4.132 MB / 471.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.361, allocations: 55.97 kB / 471.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.3611, allocations: 63.98 kB / 471.8 MB, free: 10.51 MB / 350.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.0006185/0.3617, allocations: 395 kB / 472.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3619, allocations: 79.02 kB / 472.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.3631, allocations: 0.8477 MB / 473.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3631, allocations: 8 kB / 473.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3631, allocations: 0 / 473.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3631, allocations: 7.922 kB / 473.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.3657, allocations: 1.76 MB / 474.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3657, allocations: 4.188 kB / 474.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.3664, allocations: 155.8 kB / 475 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.3664, allocations: 8.156 kB / 475.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.3665, allocations: 23.97 kB / 475.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3665, allocations: 7.938 kB / 475.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3665, allocations: 4 kB / 475.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.3683, allocations: 1.354 MB / 476.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.3686, allocations: 200.1 kB / 476.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.3687, allocations: 23.98 kB / 476.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.369, allocations: 31.97 kB / 476.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.3691, allocations: 40.52 kB / 476.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/0.3692, allocations: 43.95 kB / 476.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005118/0.3697, allocations: 419 kB / 477.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3697, allocations: 0 / 477.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000932/0.3707, allocations: 239.9 kB / 477.4 MB, free: 4.684 MB / 350.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.0001854/0.3709, allocations: 123.1 kB / 477.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.3727, allocations: 1.21 MB / 478.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3728, allocations: 4.125 kB / 478.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.3734, allocations: 466.3 kB / 479.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3739, allocations: 115.6 kB / 479.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.3775, allocations: 2.358 MB / 481.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.3784, allocations: 1.135 MB / 482.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006884/0.3791, allocations: 286.4 kB / 483.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3792, allocations: 63.42 kB / 483.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3792, allocations: 0 / 483.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01427/0.3935, allocations: 7.798 MB / 491 MB, free: 7.039 MB / 366.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: