Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 108.3 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.001272/0.001272, allocations: 192 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.386/1.386, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, 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.001424/0.001424, allocations: 67.91 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2339, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005517/0.2395, allocations: 5.505 MB / 437.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2412, allocations: 1.399 MB / 438.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.2414, allocations: 19.88 kB / 438.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.2418, allocations: 143 kB / 439.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.2425, allocations: 374.1 kB / 439.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.2427, allocations: 155.7 kB / 439.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.2433, allocations: 0.7787 MB / 440.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.2435, allocations: 221.6 kB / 440.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.2438, allocations: 342.6 kB / 440.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.2443, allocations: 402.6 kB / 441.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.2443, allocations: 40 kB / 441.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.2444, allocations: 40 kB / 441.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2445, allocations: 207.4 kB / 441.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.2447, allocations: 278.5 kB / 441.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.2451, allocations: 0.5838 MB / 442.5 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2452, allocations: 0 / 442.5 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2452, allocations: 0 / 442.5 MB, free: 9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2452, allocations: 0 / 442.5 MB, free: 9 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001282/0.2465, allocations: 0.8897 MB / 443.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2465, allocations: 11.89 kB / 443.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.2466, allocations: 68.17 kB / 443.4 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.2473, allocations: 0.5064 MB / 443.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2473, allocations: 32.94 kB / 444 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.2474, allocations: 40 kB / 444 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.2479, allocations: 0.539 MB / 444.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.248, allocations: 7.938 kB / 444.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.248, allocations: 16 kB / 444.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.248, allocations: 20.98 kB / 444.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.2485, allocations: 391.6 kB / 445 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2503, allocations: 1.912 MB / 446.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.2507, allocations: 341.3 kB / 447.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.251, allocations: 181.9 kB / 447.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.251, allocations: 8 kB / 447.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.2513, allocations: 276.3 kB / 447.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.2513, allocations: 0 / 447.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001332/0.2526, allocations: 1.183 MB / 448.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2527, allocations: 166.2 kB / 449 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.253, allocations: 397.9 kB / 449.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.253, allocations: 37.7 kB / 449.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2531, allocations: 295.6 kB / 449.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.2532, allocations: 114.4 kB / 449.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.2533, allocations: 94.16 kB / 449.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.2533, allocations: 354.8 kB / 450.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2535, allocations: 117.1 kB / 450.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.2537, allocations: 290.1 kB / 450.7 MB, free: 272 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.2542, allocations: 483.6 kB / 451.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2542, allocations: 4 kB / 451.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007025/0.2549, allocations: 0.5307 MB / 451.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.255, allocations: 37.73 kB / 451.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.255, allocations: 4 kB / 451.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.255, allocations: 8 kB / 451.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.2554, allocations: 111.8 kB / 451.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.2554, allocations: 15.88 kB / 451.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2557, allocations: 19.98 kB / 451.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.2557, allocations: 35.97 kB / 451.9 MB, free: 14.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.256, allocations: 259.2 kB / 452.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.256, allocations: 51.38 kB / 452.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.2567, allocations: 451.7 kB / 452.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2567, allocations: 4 kB / 452.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2567, allocations: 3.984 kB / 452.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2567, allocations: 3.938 kB / 452.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.2579, allocations: 0.9613 MB / 453.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2579, allocations: 4.031 kB / 453.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.2582, allocations: 75.83 kB / 453.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2582, allocations: 0 / 453.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2583, allocations: 8 kB / 453.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2583, allocations: 4 kB / 453.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2583, allocations: 0 / 453.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.2591, allocations: 0.717 MB / 454.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.2593, allocations: 136.5 kB / 454.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.2594, allocations: 11.98 kB / 454.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2596, allocations: 12 kB / 454.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.2596, allocations: 23.97 kB / 454.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.2597, allocations: 31.95 kB / 454.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.2599, allocations: 271.1 kB / 454.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.26, allocations: 8 kB / 454.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.2604, allocations: 103.9 kB / 455 MB, free: 11.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (33): * Single equations (assignments): 31 * 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.0001246/0.2605, allocations: 103.2 kB / 455.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.261, allocations: 424.2 kB / 455.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.261, allocations: 384 / 455.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.2613, allocations: 267.2 kB / 455.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.2619, allocations: 103.4 kB / 455.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2633, allocations: 0.9721 MB / 456.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2637, allocations: 0.8819 MB / 457.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.264, allocations: 92.3 kB / 457.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.2641, allocations: 31.44 kB / 457.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.284e-06/0.2641, allocations: 0 / 457.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of Templates: time 0.008267/0.2723, allocations: 4.227 MB / 462.1 MB, free: 4.52 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)