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 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.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.001882/0.001882, allocations: 114 kB / 17.06 MB, free: 5.992 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.002114/0.002114, allocations: 198.9 kB / 18 MB, free: 5.07 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.563/1.563, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1782/0.1782, allocations: 38 MB / 309.2 MB, free: 5.945 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.001729/0.001729, allocations: 67.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 55.24 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007664/0.1463, allocations: 5.169 MB / 492.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1501, allocations: 1.804 MB / 494.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.1508, allocations: 15.88 kB / 494.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1524, allocations: 442 kB / 494.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1535, allocations: 302.4 kB / 494.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1548, allocations: 359.2 kB / 495.2 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1562, allocations: 0.7598 MB / 495.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008544/0.1571, allocations: 378.1 kB / 496.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009228/0.1581, allocations: 342.7 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.159, allocations: 466.6 kB / 497.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1592, allocations: 51.94 kB / 497.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.1596, allocations: 163.8 kB / 497.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.16, allocations: 291.3 kB / 497.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.1605, allocations: 334.4 kB / 497.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1618, allocations: 0.8177 MB / 498.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1619, allocations: 0 / 498.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1619, allocations: 0 / 498.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.99e-05/0.1619, allocations: 0 / 498.7 MB, free: 12.65 MB / 382.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.002717/0.1646, allocations: 0.9175 MB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1647, allocations: 11.89 kB / 499.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.1663, allocations: 136.1 kB / 499.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.1678, allocations: 0.5352 MB / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.1679, allocations: 37.11 kB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.1683, allocations: 135.8 kB / 0.4888 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.1698, allocations: 0.8587 MB / 0.4896 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.1699, allocations: 7.938 kB / 0.4896 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.1699, allocations: 20 kB / 0.4896 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006646/0.1706, allocations: 76.92 kB / 0.4897 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1719, allocations: 0.6205 MB / 0.4903 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.1782, allocations: 3.773 MB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1793, allocations: 0.5421 MB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.1798, allocations: 315 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.1799, allocations: 12.38 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.18, allocations: 42.94 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.527e-06/0.18, allocations: 0 / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.003741/0.1837, allocations: 1.836 MB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1838, allocations: 85.55 kB / 0.4968 GB, free: 2.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.1843, allocations: 417.7 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.1843, allocations: 33.83 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.1846, allocations: 335.6 kB / 0.4975 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.1848, allocations: 201.3 kB / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.185, allocations: 142.2 kB / 0.4978 GB, free: 1.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.1853, allocations: 374.7 kB / 0.4982 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.1859, allocations: 377.5 kB / 0.4986 GB, free: 412 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.1867, allocations: 0.6018 MB / 0.4991 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.1882, allocations: 1.061 MB / 0.5002 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1882, allocations: 8 kB / 0.5002 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004436/0.1926, allocations: 2.003 MB / 0.5021 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1927, allocations: 16.06 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.1927, allocations: 4 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.1952, allocations: 0.969 MB / 0.5031 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.1956, allocations: 123.8 kB / 0.5032 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.2068, allocations: 8.189 MB / 0.5112 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.2074, allocations: 36.05 kB / 0.5113 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.2075, allocations: 35.98 kB / 0.5113 GB, free: 2.859 MB / 398.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.0004326/0.2079, allocations: 249.6 kB / 0.5115 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.2081, allocations: 51.42 kB / 0.5116 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.2094, allocations: 0.7257 MB / 0.5123 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2095, allocations: 4 kB / 0.5123 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2095, allocations: 3.984 kB / 0.5123 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2095, allocations: 64 / 0.5123 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.2124, allocations: 1.524 MB / 0.5138 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.2124, allocations: 7.984 kB / 0.5138 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.2134, allocations: 183.9 kB / 0.514 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2135, allocations: 4 kB / 0.514 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.2135, allocations: 31.92 kB / 0.514 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2136, allocations: 3.938 kB / 0.514 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.2136, allocations: 4.062 kB / 0.514 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.2149, allocations: 0.9933 MB / 0.515 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2151, allocations: 124.5 kB / 0.5151 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.2152, allocations: 27.98 kB / 0.5151 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.2156, allocations: 23.97 kB / 0.5151 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.2157, allocations: 36.33 kB / 0.5152 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2157, allocations: 15.98 kB / 0.5152 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.2161, allocations: 283.1 kB / 0.5155 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2161, allocations: 0 / 0.5155 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009529/0.2171, allocations: 216 kB / 0.5157 GB, free: 14.24 MB / 414.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.0002063/0.2173, allocations: 127.2 kB / 0.5158 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.22, allocations: 1.477 MB / 0.5172 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.2201, allocations: 4.188 kB / 0.5172 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.2205, allocations: 302.3 kB / 0.5175 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.2213, allocations: 137.2 kB / 0.5177 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.2257, allocations: 2.689 MB / 0.5203 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.2263, allocations: 0.9804 MB / 0.5212 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004943/0.2268, allocations: 204.6 kB / 0.5214 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.227, allocations: 47.42 kB / 0.5215 GB, free: 8.184 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.227, allocations: 4 kB / 0.5215 GB, free: 8.18 MB / 414.1 MB Notification: Performance of Templates: time 0.3279/0.5549, allocations: 11.04 MB / 0.5323 GB, free: 50.88 MB / 414.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)