Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 89.86 kB / 16.65 MB, free: 6.535 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.001803/0.001803, allocations: 175.7 kB / 17.56 MB, free: 6.184 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.441/1.441, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1814/0.1814, allocations: 38.08 MB / 330.8 MB, free: 8.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 8 kB / 400.7 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 59.16 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005453/0.135, allocations: 4.475 MB / 464.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1371, allocations: 1.099 MB / 465.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.1374, allocations: 27.81 kB / 465.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1376, allocations: 39.69 kB / 465.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.1381, allocations: 187.1 kB / 465.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1383, allocations: 83.91 kB / 465.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.139, allocations: 0.6309 MB / 466.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.1392, allocations: 127.4 kB / 466.5 MB, free: 372 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.1395, allocations: 175.1 kB / 466.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1399, allocations: 239.1 kB / 466.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.14, allocations: 15.98 kB / 467 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.14, allocations: 16 kB / 467 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1402, allocations: 103.7 kB / 467.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1404, allocations: 184.8 kB / 467.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1407, allocations: 350.6 kB / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1407, allocations: 0 / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1407, allocations: 0 / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1407, allocations: 0 / 467.6 MB, free: 15.29 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001223/0.1419, allocations: 0.6478 MB / 468.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.142, allocations: 8.031 kB / 468.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.1421, allocations: 40.47 kB / 468.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.1427, allocations: 387.1 kB / 468.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1428, allocations: 16.56 kB / 468.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.1428, allocations: 31.98 kB / 468.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.1434, allocations: 364.6 kB / 469.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1434, allocations: 0 / 469.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.1435, allocations: 12 kB / 469.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1435, allocations: 8 kB / 469.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1439, allocations: 262 kB / 469.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1457, allocations: 1.438 MB / 470.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.146, allocations: 157 kB / 470.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1462, allocations: 89.72 kB / 471 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1462, allocations: 0 / 471 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1462, allocations: 38.5 kB / 471.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.1463, allocations: 0 / 471.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001193/0.1474, allocations: 0.6908 MB / 471.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.1475, allocations: 81.11 kB / 471.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.1478, allocations: 300.5 kB / 472.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1479, allocations: 25.7 kB / 472.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1481, allocations: 223.5 kB / 472.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1481, allocations: 51.27 kB / 472.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.1482, allocations: 29.7 kB / 472.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1483, allocations: 334.8 kB / 472.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1484, allocations: 71.98 kB / 472.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1486, allocations: 168.8 kB / 473 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.1489, allocations: 260.6 kB / 473.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.149, allocations: 0 / 473.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004017/0.1494, allocations: 288.3 kB / 473.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1494, allocations: 8 kB / 473.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1494, allocations: 4 kB / 473.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1494, allocations: 4 kB / 473.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1497, allocations: 59.89 kB / 473.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1497, allocations: 4.438 kB / 473.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1499, allocations: 19.91 kB / 473.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1499, allocations: 15.98 kB / 473.7 MB, free: 8.77 MB / 350.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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.1501, allocations: 165.7 kB / 473.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.1502, allocations: 27.66 kB / 473.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.1506, allocations: 235.5 kB / 474.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1506, allocations: 0 / 474.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1506, allocations: 7.984 kB / 474.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1506, allocations: 4 kB / 474.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.1514, allocations: 0.6222 MB / 474.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1514, allocations: 0 / 474.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1516, allocations: 31.98 kB / 474.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1516, allocations: 4 kB / 474.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1517, allocations: 0 / 474.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.1517, allocations: 11.88 kB / 474.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1517, allocations: 0 / 474.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.1522, allocations: 432.7 kB / 475.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.1523, allocations: 104.7 kB / 475.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1524, allocations: 0 / 475.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1525, allocations: 11.98 kB / 475.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1526, allocations: 15.98 kB / 475.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1526, allocations: 8 kB / 475.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.1528, allocations: 215.1 kB / 475.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1528, allocations: 7.875 kB / 475.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1531, allocations: 63.98 kB / 475.6 MB, free: 6.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001456/0.1533, allocations: 103.2 kB / 475.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.1536, allocations: 187.4 kB / 475.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1537, allocations: 4.312 kB / 475.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1538, allocations: 87.89 kB / 476 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.1544, allocations: 60.61 kB / 476 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1556, allocations: 0.8059 MB / 476.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.1561, allocations: 0.8067 MB / 477.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.1564, allocations: 58.94 kB / 477.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.1564, allocations: 23.44 kB / 477.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1564, allocations: 0 / 477.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of Templates: time 0.006904/0.1634, allocations: 2.82 MB / 480.5 MB, free: 1.723 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)