Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 109.1 kB / 16.92 MB, free: 5.789 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.001226/0.001226, allocations: 191.3 kB / 17.85 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1841/0.1841, allocations: 38.03 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 73.48 kB / 398.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 58.06 MB / 456.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007947/0.1332, allocations: 5.171 MB / 462 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.1368, allocations: 1.757 MB / 463.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.1374, allocations: 15.88 kB / 463.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.139, allocations: 434 kB / 464.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.14, allocations: 306.4 kB / 464.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1412, allocations: 359.2 kB / 464.9 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1426, allocations: 0.7599 MB / 465.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.1434, allocations: 378.1 kB / 466 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008978/0.1443, allocations: 330.8 kB / 466.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.1456, allocations: 458.6 kB / 466.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.146, allocations: 56 kB / 466.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.1468, allocations: 175.6 kB / 467 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.1474, allocations: 283.3 kB / 467.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000869/0.1483, allocations: 334.4 kB / 467.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1497, allocations: 0.7983 MB / 468.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1497, allocations: 0 / 468.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1497, allocations: 3.984 kB / 468.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.1498, allocations: 3.938 kB / 468.4 MB, free: 12.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002398/0.1522, allocations: 0.9214 MB / 469.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1522, allocations: 11.89 kB / 469.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1535, allocations: 132.1 kB / 469.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.1548, allocations: 0.5119 MB / 470 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1549, allocations: 37.12 kB / 470 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.1553, allocations: 131.8 kB / 470.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1571, allocations: 0.8587 MB / 471 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.1571, allocations: 4 kB / 471 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.1572, allocations: 20 kB / 471 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004801/0.1577, allocations: 72.94 kB / 471.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.159, allocations: 0.6166 MB / 471.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.1641, allocations: 3.804 MB / 475.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1652, allocations: 0.5383 MB / 476.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.1657, allocations: 323 kB / 476.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.1658, allocations: 4.438 kB / 476.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1658, allocations: 50.86 kB / 476.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.1658, allocations: 0 / 476.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003264/0.1691, allocations: 1.834 MB / 478.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.1692, allocations: 85.55 kB / 478.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.1698, allocations: 421.7 kB / 478.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.1698, allocations: 37.7 kB / 478.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.1701, allocations: 323.7 kB / 479.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.1704, allocations: 197.3 kB / 479.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.1707, allocations: 150.2 kB / 479.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1709, allocations: 378.8 kB / 479.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.1715, allocations: 381.4 kB / 480.2 MB, free: 212 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.1723, allocations: 0.5902 MB / 480.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.1739, allocations: 1.061 MB / 481.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.1739, allocations: 4 kB / 481.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004667/0.1786, allocations: 2.007 MB / 483.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1786, allocations: 10.19 kB / 483.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1787, allocations: 8 kB / 483.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.1812, allocations: 0.9697 MB / 484.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1817, allocations: 119.8 kB / 485 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.1941, allocations: 8.196 MB / 493.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.1947, allocations: 39.91 kB / 493.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.1948, allocations: 40.05 kB / 493.2 MB, free: 2.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004535/0.1953, allocations: 253.5 kB / 493.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1954, allocations: 51.44 kB / 493.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.1969, allocations: 0.7296 MB / 494.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1969, allocations: 4 kB / 494.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1969, allocations: 4 kB / 494.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1969, allocations: 3.984 kB / 494.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.1999, allocations: 1.509 MB / 495.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2, allocations: 96 / 495.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.201, allocations: 191.8 kB / 496 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.201, allocations: 4 kB / 496 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.2011, allocations: 31.92 kB / 496 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2011, allocations: 4 kB / 496 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2011, allocations: 0 / 496 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2027, allocations: 0.9933 MB / 497 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2029, allocations: 132.4 kB / 497.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.2031, allocations: 27.98 kB / 497.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2034, allocations: 27.97 kB / 497.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.2035, allocations: 28.39 kB / 497.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2036, allocations: 12 kB / 497.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000428/0.204, allocations: 291.1 kB / 497.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.204, allocations: 0 / 497.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008965/0.2049, allocations: 212 kB / 497.7 MB, free: 14.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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.0002203/0.2052, allocations: 131.1 kB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.2084, allocations: 1.653 MB / 499.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.2085, allocations: 4.062 kB / 499.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.2089, allocations: 310.3 kB / 499.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.2097, allocations: 128.8 kB / 499.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.2155, allocations: 2.698 MB / 0.4908 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.2163, allocations: 0.9843 MB / 0.4918 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.2169, allocations: 196.6 kB / 0.492 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.2171, allocations: 47.42 kB / 0.492 GB, free: 7.812 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2171, allocations: 0 / 0.492 GB, free: 7.812 MB / 382.1 MB Notification: Performance of Templates: time 0.2259/0.443, allocations: 10.62 MB / 0.5024 GB, free: 55.89 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)