Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 110.2 kB / 17.29 MB, free: 6.195 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.002438/0.002438, allocations: 193.3 kB / 18.21 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.436/2.436, allocations: 222.9 MB / 241.9 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.2665/0.2665, allocations: 38.03 MB / 330.1 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 65.67 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1273, allocations: 58.06 MB / 457 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.007378/0.1347, allocations: 4.519 MB / 461.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1369, allocations: 0.9816 MB / 462.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.1374, allocations: 19.88 kB / 462.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1377, allocations: 35.7 kB / 462.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007093/0.1385, allocations: 155.2 kB / 462.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1388, allocations: 75.91 kB / 462.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000638/0.1395, allocations: 398.6 kB / 463.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.1398, allocations: 102.3 kB / 463.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.1402, allocations: 171.2 kB / 463.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.1406, allocations: 187.3 kB / 463.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.1407, allocations: 24 kB / 463.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.1408, allocations: 24 kB / 463.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1409, allocations: 95.64 kB / 463.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.1411, allocations: 135.3 kB / 463.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1414, allocations: 219.4 kB / 464.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1415, allocations: 4 kB / 464.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1415, allocations: 0 / 464.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1415, allocations: 0 / 464.1 MB, free: 1.266 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001311/0.1428, allocations: 0.5932 MB / 464.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1429, allocations: 11.89 kB / 464.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/0.143, allocations: 32.56 kB / 464.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.1436, allocations: 322.9 kB / 465.1 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1436, allocations: 16.81 kB / 465.1 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.1438, allocations: 36.12 kB / 465.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.1443, allocations: 290.1 kB / 465.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1443, allocations: 4 kB / 465.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1443, allocations: 4 kB / 465.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1444, allocations: 8 kB / 465.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.1447, allocations: 187.8 kB / 465.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.1465, allocations: 1.276 MB / 466.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.1468, allocations: 123.8 kB / 467 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.1469, allocations: 46.62 kB / 467 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.147, allocations: 7.984 kB / 467 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.147, allocations: 38.5 kB / 467.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.147, allocations: 0 / 467.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001086/0.1481, allocations: 0.5311 MB / 467.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.1482, allocations: 110.8 kB / 467.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1485, allocations: 238.7 kB / 468 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1485, allocations: 25.7 kB / 468 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1486, allocations: 199.6 kB / 468.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1487, allocations: 39.45 kB / 468.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.1488, allocations: 45.77 kB / 468.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1489, allocations: 342.7 kB / 468.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.149, allocations: 39.97 kB / 468.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1491, allocations: 134.7 kB / 468.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.1494, allocations: 187.8 kB / 468.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1494, allocations: 0 / 468.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004347/0.1498, allocations: 237.8 kB / 469.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1498, allocations: 11.98 kB / 469.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1499, allocations: 4 kB / 469.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.15, allocations: 25.25 kB / 469.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.1504, allocations: 67.83 kB / 469.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1504, allocations: 4 kB / 469.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1505, allocations: 8 kB / 469.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1506, allocations: 11.94 kB / 469.3 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.1507, allocations: 146.7 kB / 469.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.1508, allocations: 19.72 kB / 469.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.1511, allocations: 155.2 kB / 469.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1511, allocations: 3.938 kB / 469.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1511, allocations: 0 / 469.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1511, allocations: 4 kB / 469.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.1515, allocations: 281.5 kB / 469.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1515, allocations: 3.984 kB / 469.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1517, allocations: 31.92 kB / 469.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1517, allocations: 0 / 469.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1518, allocations: 8 kB / 469.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1518, allocations: 7.875 kB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1518, allocations: 4 kB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.1522, allocations: 366.3 kB / 470.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1523, allocations: 100.8 kB / 470.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1524, allocations: 0 / 470.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1525, allocations: 11.94 kB / 470.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1526, allocations: 12.05 kB / 470.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1526, allocations: 4 kB / 470.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1528, allocations: 174 kB / 470.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1528, allocations: 3.938 kB / 470.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1532, allocations: 44 kB / 470.7 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001348/0.1533, allocations: 99.25 kB / 470.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.1537, allocations: 222.3 kB / 471 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1537, allocations: 0 / 471 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.1538, allocations: 55.92 kB / 471 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.1544, allocations: 51.11 kB / 471.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1556, allocations: 0.7351 MB / 471.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.156, allocations: 0.7712 MB / 472.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.1561, allocations: 27.42 kB / 472.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1561, allocations: 0 / 472.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of Templates: time 0.006543/0.1627, allocations: 3.481 MB / 476.1 MB, free: 4.613 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)