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.001143/0.001143, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001158/0.001159, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 329.4 MB, free: 8.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.81 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1289, allocations: 58.05 MB / 456.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00624/0.1352, allocations: 4.527 MB / 460.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1369, allocations: 0.97 MB / 461.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1372, allocations: 19.88 kB / 461.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1374, allocations: 27.77 kB / 461.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.1379, allocations: 155.2 kB / 462 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1381, allocations: 75.92 kB / 462.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.1386, allocations: 398.6 kB / 462.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1388, allocations: 110.2 kB / 462.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1391, allocations: 175.2 kB / 462.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1395, allocations: 191.2 kB / 463 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.1395, allocations: 20 kB / 463 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.1396, allocations: 24 kB / 463 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1397, allocations: 87.72 kB / 463.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1398, allocations: 143.3 kB / 463.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1402, allocations: 286.9 kB / 463.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1402, allocations: 0 / 463.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1402, allocations: 0 / 463.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1402, allocations: 0 / 463.5 MB, free: 1.207 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.001007/0.1412, allocations: 0.5971 MB / 464.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1413, allocations: 11.89 kB / 464.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.1413, allocations: 36.56 kB / 464.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.1418, allocations: 319 kB / 464.5 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1419, allocations: 20.81 kB / 464.5 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.142, allocations: 32.12 kB / 464.5 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.1425, allocations: 290 kB / 464.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1425, allocations: 7.938 kB / 464.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1425, allocations: 8 kB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.1425, allocations: 8 kB / 464.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1429, allocations: 183.8 kB / 465 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.1444, allocations: 1.276 MB / 466.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1447, allocations: 123.9 kB / 466.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.1448, allocations: 50.5 kB / 466.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1448, allocations: 4 kB / 466.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1448, allocations: 34.56 kB / 466.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1448, allocations: 3.938 kB / 466.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009415/0.1458, allocations: 0.5311 MB / 467 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1459, allocations: 114.8 kB / 467.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1462, allocations: 234.7 kB / 467.4 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1462, allocations: 29.7 kB / 467.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1464, allocations: 195.6 kB / 467.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1464, allocations: 39.45 kB / 467.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.1465, allocations: 41.7 kB / 467.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1466, allocations: 342.8 kB / 468 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.1467, allocations: 39.97 kB / 468 MB, free: 12.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1469, allocations: 138.7 kB / 468.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.1471, allocations: 187.4 kB / 468.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1471, allocations: 0 / 468.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003936/0.1475, allocations: 237.8 kB / 468.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1476, allocations: 7.984 kB / 468.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1476, allocations: 4 kB / 468.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.1477, allocations: 29.19 kB / 468.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.148, allocations: 63.89 kB / 468.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1481, allocations: 7.938 kB / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1482, allocations: 8 kB / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1482, allocations: 8 kB / 468.7 MB, free: 11.53 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.000166/0.1484, allocations: 154.6 kB / 468.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.1485, allocations: 19.72 kB / 468.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1487, allocations: 151.2 kB / 469 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1488, allocations: 3.938 kB / 469 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1488, allocations: 4 kB / 469 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1488, allocations: 0 / 469 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.1491, allocations: 281.5 kB / 469.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1492, allocations: 0 / 469.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1493, allocations: 35.91 kB / 469.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1493, allocations: 0 / 469.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1494, allocations: 8 kB / 469.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1494, allocations: 7.938 kB / 469.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1494, allocations: 0 / 469.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1498, allocations: 371.2 kB / 469.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1498, allocations: 96.95 kB / 469.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.1499, allocations: 7.922 kB / 469.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.15, allocations: 11.94 kB / 469.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1501, allocations: 7.984 kB / 469.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1501, allocations: 8.062 kB / 469.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1502, allocations: 170 kB / 470 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1503, allocations: 0 / 470 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1506, allocations: 48 kB / 470.1 MB, free: 10.07 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.000129/0.1507, allocations: 95.25 kB / 470.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1511, allocations: 225.5 kB / 470.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1511, allocations: 4 kB / 470.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.1512, allocations: 51.92 kB / 470.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1517, allocations: 47.94 kB / 470.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1528, allocations: 0.7057 MB / 471.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1531, allocations: 0.7712 MB / 472 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1533, allocations: 26.28 kB / 472 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.1533, allocations: 23.44 kB / 472 MB, free: 8.039 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1533, allocations: 0 / 472 MB, free: 8.039 MB / 350.1 MB Notification: Performance of Templates: time 0.005813/0.1591, allocations: 2.192 MB / 474.2 MB, free: 5.867 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)