Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 104.6 kB / 16.51 MB, free: 6.652 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.001125/0.001125, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.529/1.529, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.02 MB / 329.3 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.39 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 58.06 MB / 456.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007788/0.1401, allocations: 5.761 MB / 461.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.1427, allocations: 1.547 MB / 463.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.143, allocations: 35.75 kB / 463.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.1435, allocations: 107.3 kB / 463.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.1441, allocations: 310.7 kB / 463.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1445, allocations: 139.8 kB / 464 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.1455, allocations: 1.056 MB / 465.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1457, allocations: 139.5 kB / 465.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1461, allocations: 266.8 kB / 465.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.1467, allocations: 450.7 kB / 465.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.1468, allocations: 28 kB / 466 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.1469, allocations: 28 kB / 466 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.1472, allocations: 219.4 kB / 466.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.1475, allocations: 262.7 kB / 466.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.148, allocations: 0.5879 MB / 467 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1481, allocations: 0 / 467 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1481, allocations: 0 / 467 MB, free: 13.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1481, allocations: 0 / 467 MB, free: 13.58 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001966/0.1501, allocations: 0.9479 MB / 468 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1501, allocations: 12.03 kB / 468 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1502, allocations: 56.28 kB / 468.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1513, allocations: 0.5877 MB / 468.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1513, allocations: 28.66 kB / 468.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.1514, allocations: 44 kB / 468.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.1522, allocations: 0.5518 MB / 469.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1522, allocations: 11.92 kB / 469.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.1523, allocations: 8 kB / 469.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003032/0.1526, allocations: 88.52 kB / 469.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.1531, allocations: 358.3 kB / 469.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.1559, allocations: 2.062 MB / 471.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000885/0.1568, allocations: 381.1 kB / 472.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.1574, allocations: 321.6 kB / 472.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1574, allocations: 11.88 kB / 472.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1574, allocations: 34.56 kB / 472.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.1574, allocations: 0 / 472.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004524/0.162, allocations: 2.545 MB / 475.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.1621, allocations: 81.11 kB / 475.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.1625, allocations: 381.6 kB / 475.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.1626, allocations: 33.7 kB / 475.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1628, allocations: 256.2 kB / 475.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.1629, allocations: 130.1 kB / 475.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.1631, allocations: 98.25 kB / 476 MB, free: 4.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1632, allocations: 366.8 kB / 476.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1636, allocations: 245 kB / 476.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.1641, allocations: 362.6 kB / 477 MB, free: 3.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.1649, allocations: 0.6196 MB / 477.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1649, allocations: 0 / 477.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001679/0.1666, allocations: 1.014 MB / 478.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1666, allocations: 15.86 kB / 478.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1666, allocations: 4 kB / 478.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/0.1676, allocations: 413.4 kB / 479 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.1679, allocations: 83.88 kB / 479.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/0.1733, allocations: 4.722 MB / 483.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.1738, allocations: 43.94 kB / 483.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.1739, allocations: 23.94 kB / 483.9 MB, free: 11.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.1743, allocations: 201.7 kB / 484.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.1744, allocations: 39.53 kB / 484.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.1758, allocations: 0.8348 MB / 485 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1759, allocations: 8 kB / 485 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1759, allocations: 3.938 kB / 485 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1759, allocations: 7.984 kB / 485 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.1781, allocations: 1.418 MB / 486.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1781, allocations: 4 kB / 486.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.1783, allocations: 35.97 kB / 486.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.1796, allocations: 441.3 kB / 486.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.1796, allocations: 35.97 kB / 486.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.1849, allocations: 6.253 MB / 493.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1849, allocations: 0 / 493.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.1867, allocations: 1.128 MB / 494.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1868, allocations: 112.5 kB / 494.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/0.1869, allocations: 35.92 kB / 494.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1872, allocations: 39.88 kB / 494.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1873, allocations: 43.86 kB / 494.5 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1873, allocations: 19.98 kB / 494.5 MB, free: 460 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.1876, allocations: 259.2 kB / 494.8 MB, free: 204 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1876, allocations: 4 kB / 494.8 MB, free: 200 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006768/0.1883, allocations: 152 kB / 494.9 MB, free: 48 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.1885, allocations: 129.6 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.1901, allocations: 0.904 MB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1901, allocations: 0 / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.1916, allocations: 1.083 MB / 497.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.1924, allocations: 117.5 kB / 497.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.1954, allocations: 2.012 MB / 499.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.196, allocations: 0.8781 MB / 0.4883 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.1963, allocations: 72.34 kB / 0.4884 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.1964, allocations: 31.44 kB / 0.4884 GB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1964, allocations: 0 / 0.4884 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01272/0.2091, allocations: 7.359 MB / 0.4956 GB, free: 3.312 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)