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.00159/0.00159, allocations: 109.9 kB / 17.68 MB, free: 5.332 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.001877/0.001878, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.767/1.767, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1839/0.1839, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001514/0.001514, allocations: 63.91 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 55.24 MB / 432 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007404/0.2925, allocations: 6.541 MB / 438.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.2968, allocations: 2.47 MB / 441 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.2973, allocations: 23.88 kB / 441 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2989, allocations: 0.609 MB / 441.7 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.3005, allocations: 0.6691 MB / 442.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3015, allocations: 467 kB / 442.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.3027, allocations: 1.361 MB / 444.1 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.3033, allocations: 487.8 kB / 444.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.304, allocations: 0.5682 MB / 445.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.305, allocations: 0.7905 MB / 446 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3051, allocations: 80 kB / 446.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.3056, allocations: 275.6 kB / 446.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.3061, allocations: 0.5144 MB / 446.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.3065, allocations: 0.5286 MB / 447.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3075, allocations: 1.332 MB / 448.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3075, allocations: 3.938 kB / 448.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3075, allocations: 4 kB / 448.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3076, allocations: 0 / 448.7 MB, free: 2.891 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.002052/0.3096, allocations: 1.319 MB / 450 MB, free: 1.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3097, allocations: 11.89 kB / 450 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.3106, allocations: 203.4 kB / 450.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3117, allocations: 0.7057 MB / 450.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.3118, allocations: 66.36 kB / 451 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.312, allocations: 96.02 kB / 451.1 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.3138, allocations: 1.396 MB / 452.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3139, allocations: 7.938 kB / 452.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.314, allocations: 31.98 kB / 452.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.3142, allocations: 121.9 kB / 452.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.316, allocations: 1.089 MB / 453.7 MB, free: 13.65 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.007697/0.3237, allocations: 5.938 MB / 459.7 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3248, allocations: 0.7052 MB / 460.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.3253, allocations: 327.2 kB / 460.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.3253, allocations: 8.562 kB / 460.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/0.326, allocations: 472.6 kB / 461.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.204e-06/0.326, allocations: 0 / 461.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003567/0.3296, allocations: 2.16 MB / 463.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3297, allocations: 162.8 kB / 463.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.3304, allocations: 0.6444 MB / 464.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.3305, allocations: 33.7 kB / 464.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.331, allocations: 0.525 MB / 464.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.3312, allocations: 232.8 kB / 464.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.3315, allocations: 206.7 kB / 465.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3317, allocations: 386.7 kB / 465.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.3322, allocations: 346.4 kB / 465.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.333, allocations: 0.7659 MB / 466.6 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.3347, allocations: 1.248 MB / 467.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.3347, allocations: 4 kB / 467.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002561/0.3373, allocations: 1.442 MB / 469.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.3373, allocations: 42.64 kB / 469.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001562/0.3389, allocations: 0.7894 MB / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.3397, allocations: 253.5 kB / 470.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.3404, allocations: 219.6 kB / 470.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/0.3456, allocations: 4.365 MB / 475 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.3464, allocations: 56.03 kB / 475 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3465, allocations: 60.12 kB / 475.1 MB, free: 7.043 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,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007241/0.3472, allocations: 410.9 kB / 475.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3474, allocations: 83 kB / 475.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.3488, allocations: 0.8517 MB / 476.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3489, allocations: 8 kB / 476.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3489, allocations: 0 / 476.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3489, allocations: 0 / 476.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.3518, allocations: 1.771 MB / 478.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3519, allocations: 4 kB / 478.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.3527, allocations: 143.8 kB / 478.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.3527, allocations: 4 kB / 478.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.3527, allocations: 19.98 kB / 478.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/0.3528, allocations: 7.938 kB / 478.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3528, allocations: 4 kB / 478.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3546, allocations: 1.305 MB / 479.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.355, allocations: 200.2 kB / 479.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.3551, allocations: 19.98 kB / 479.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.3555, allocations: 35.91 kB / 479.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3556, allocations: 40.45 kB / 480 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/0.3557, allocations: 47.95 kB / 480 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000518/0.3562, allocations: 423 kB / 480.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3562, allocations: 0 / 480.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001043/0.3573, allocations: 228 kB / 480.6 MB, free: 1.297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001866/0.3575, allocations: 135 kB / 480.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.3594, allocations: 1.233 MB / 482 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3594, allocations: 4.438 kB / 482 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.36, allocations: 462.4 kB / 482.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.3607, allocations: 150.6 kB / 482.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.3646, allocations: 1.972 MB / 484.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.3659, allocations: 1.114 MB / 485.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007718/0.3666, allocations: 294.4 kB / 486 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3668, allocations: 59.44 kB / 486 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.763e-06/0.3668, allocations: 0 / 486 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01725/0.3841, allocations: 8.55 MB / 494.6 MB, free: 3.242 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)