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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001185/0.001185, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.219/1.219, allocations: 194.2 MB / 212.2 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 126.2 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1669/0.1669, allocations: 37.96 MB / 338.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1082, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008174/0.1165, allocations: 7.563 MB / 461.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1215, allocations: 2.829 MB / 464.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008869/0.1225, allocations: 47.69 kB / 464.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1239, allocations: 0.572 MB / 465 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.1252, allocations: 0.6384 MB / 465.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.1261, allocations: 411.3 kB / 466 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1276, allocations: 2.293 MB / 468.3 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.1282, allocations: 459.2 kB / 468.8 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.1287, allocations: 0.4901 MB / 469.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009103/0.1296, allocations: 0.8334 MB / 470.1 MB, free: 396 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.1297, allocations: 48 kB / 470.2 MB, free: 348 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.1303, allocations: 283.5 kB / 470.4 MB, free: 64 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.1307, allocations: 0.4987 MB / 470.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.1312, allocations: 0.4934 MB / 471.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1324, allocations: 1.285 MB / 472.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1324, allocations: 0 / 472.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1324, allocations: 0 / 472.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1324, allocations: 4 kB / 472.7 MB, free: 13.77 MB / 330.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.002302/0.1348, allocations: 1.33 MB / 474 MB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1348, allocations: 12.03 kB / 474.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.1358, allocations: 203.4 kB / 474.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.137, allocations: 0.6667 MB / 474.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.1371, allocations: 62.36 kB / 475 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.1373, allocations: 95.91 kB / 475.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.1391, allocations: 1.392 MB / 476.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1392, allocations: 4 kB / 476.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.1393, allocations: 43.97 kB / 476.5 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/0.1395, allocations: 113.9 kB / 476.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.1412, allocations: 1.093 MB / 477.7 MB, free: 8.559 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.006938/0.1481, allocations: 5.962 MB / 483.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1492, allocations: 0.7019 MB / 484.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1497, allocations: 323.3 kB / 484.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.1497, allocations: 8.562 kB / 484.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006429/0.1504, allocations: 480.6 kB / 485.2 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 3.436e-06/0.1504, allocations: 4 kB / 485.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.003586/0.154, allocations: 2.144 MB / 487.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1541, allocations: 170.8 kB / 487.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.1549, allocations: 0.6328 MB / 488.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1549, allocations: 37.7 kB / 488.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.1553, allocations: 0.5328 MB / 488.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.1555, allocations: 236.8 kB / 488.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.1557, allocations: 210.7 kB / 489.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1559, allocations: 386.7 kB / 489.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.1564, allocations: 342.4 kB / 489.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008057/0.1572, allocations: 0.7659 MB / 490.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.1586, allocations: 1.24 MB / 491.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1586, allocations: 7.938 kB / 491.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002309/0.161, allocations: 1.439 MB / 493.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.161, allocations: 41.64 kB / 493.3 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001332/0.1624, allocations: 0.7858 MB / 494.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.1631, allocations: 257.7 kB / 494.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.1637, allocations: 211.6 kB / 494.6 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.1681, allocations: 4.04 MB / 498.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.1688, allocations: 56.03 kB / 498.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.1689, allocations: 59.98 kB / 498.7 MB, free: 2.281 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,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.0005737/0.1695, allocations: 397.6 kB / 499.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.1696, allocations: 79.05 kB / 499.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1709, allocations: 0.8477 MB / 0.4883 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1709, allocations: 8 kB / 0.4883 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1709, allocations: 3.938 kB / 0.4883 GB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.171, allocations: 3.984 kB / 0.4883 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.1736, allocations: 1.779 MB / 0.4901 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.1737, allocations: 4.062 kB / 0.4901 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.1743, allocations: 155.8 kB / 0.4902 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1744, allocations: 4 kB / 0.4902 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.1744, allocations: 16 kB / 0.4902 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.1744, allocations: 7.984 kB / 0.4903 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1744, allocations: 160 / 0.4903 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008406/0.1828, allocations: 5.848 MB / 0.496 GB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.1832, allocations: 204.1 kB / 0.4962 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.1833, allocations: 16 kB / 0.4962 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1836, allocations: 27.97 kB / 0.4962 GB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1838, allocations: 48.44 kB / 0.4962 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.1839, allocations: 39.97 kB / 0.4963 GB, free: 8.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000487/0.1844, allocations: 423 kB / 0.4967 GB, free: 8.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1844, allocations: 0 / 0.4967 GB, free: 8.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001224/0.1856, allocations: 312 kB / 0.497 GB, free: 7.77 MB / 362.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 (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.0001699/0.1858, allocations: 131 kB / 0.4971 GB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.1877, allocations: 1.23 MB / 0.4983 GB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1877, allocations: 4.188 kB / 0.4983 GB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.1882, allocations: 470.3 kB / 0.4988 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.1889, allocations: 127.9 kB / 0.4989 GB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.1927, allocations: 2.852 MB / 0.5017 GB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/0.1935, allocations: 1.131 MB / 0.5028 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008314/0.1943, allocations: 306.4 kB / 0.5031 GB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.1945, allocations: 63.42 kB / 0.5031 GB, free: 1.32 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1945, allocations: 0 / 0.5031 GB, free: 1.32 MB / 362.7 MB Notification: Performance of Templates: time 0.1897/0.3843, allocations: 10.2 MB / 0.5131 GB, free: 63.78 MB / 362.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)