Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008441, allocations: 92.73 kB / 16.65 MB, free: 6.586 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.0008448/0.0008449, allocations: 185.3 kB / 17.56 MB, free: 6.203 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.442/1.442, allocations: 223.3 MB / 241.6 MB, free: 84 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1967/0.1967, allocations: 38.08 MB / 330.8 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005083, allocations: 8 kB / 400.7 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 59.16 MB / 459.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005541/0.1555, allocations: 4.319 MB / 464.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1577, allocations: 1.06 MB / 465.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.1582, allocations: 23.81 kB / 465.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1584, allocations: 39.69 kB / 465.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.1591, allocations: 171.2 kB / 465.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1594, allocations: 75.92 kB / 465.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.1601, allocations: 0.5609 MB / 466.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1604, allocations: 112.6 kB / 466.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.1607, allocations: 151.2 kB / 466.4 MB, free: 500 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1612, allocations: 199.2 kB / 466.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.1613, allocations: 12 kB / 466.6 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.1613, allocations: 12 kB / 466.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1615, allocations: 99.7 kB / 466.7 MB, free: 176 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1617, allocations: 164.9 kB / 466.8 MB, free: 4 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.162, allocations: 290.8 kB / 467.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.162, allocations: 0 / 467.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.162, allocations: 0 / 467.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1621, allocations: 0 / 467.1 MB, free: 15.72 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001117/0.1632, allocations: 0.5817 MB / 467.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1632, allocations: 8.031 kB / 467.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.1633, allocations: 44.39 kB / 467.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.1638, allocations: 315.1 kB / 468.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1638, allocations: 24.94 kB / 468.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.1639, allocations: 20.12 kB / 468.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.1644, allocations: 316.5 kB / 468.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1644, allocations: 3.938 kB / 468.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.1645, allocations: 15.98 kB / 468.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1645, allocations: 8 kB / 468.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.1648, allocations: 213.5 kB / 468.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.1666, allocations: 1.348 MB / 470 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.167, allocations: 153.1 kB / 470.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1672, allocations: 57.75 kB / 470.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1672, allocations: 4 kB / 470.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.1672, allocations: 34.5 kB / 470.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.963e-06/0.1672, allocations: 0 / 470.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008693/0.1681, allocations: 363.8 kB / 470.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1682, allocations: 85.23 kB / 470.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1685, allocations: 259 kB / 470.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1685, allocations: 25.7 kB / 471 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1687, allocations: 203.5 kB / 471.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.1687, allocations: 47.36 kB / 471.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1688, allocations: 17.72 kB / 471.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.169, allocations: 346.7 kB / 471.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1691, allocations: 55.95 kB / 471.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1692, allocations: 153.6 kB / 471.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1695, allocations: 228.7 kB / 472 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1696, allocations: 4 kB / 472 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003649/0.1699, allocations: 245.8 kB / 472.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1699, allocations: 4 kB / 472.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.17, allocations: 4 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.814e-05/0.17, allocations: 11.94 kB / 472.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.1702, allocations: 51.91 kB / 472.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1702, allocations: 4 kB / 472.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1704, allocations: 12.44 kB / 472.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1704, allocations: 11.98 kB / 472.3 MB, free: 10.09 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 (25): * Single equations (assignments): 25 * 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.0001697/0.1706, allocations: 161.6 kB / 472.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1706, allocations: 23.72 kB / 472.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.171, allocations: 203.1 kB / 472.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.171, allocations: 4 kB / 472.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.171, allocations: 0 / 472.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.171, allocations: 0 / 472.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.1717, allocations: 0.5577 MB / 473.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1717, allocations: 7.938 kB / 473.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1719, allocations: 27.98 kB / 473.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1719, allocations: 4 kB / 473.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1719, allocations: 4 kB / 473.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1719, allocations: 7.938 kB / 473.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1719, allocations: 3.938 kB / 473.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1723, allocations: 291.2 kB / 473.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1724, allocations: 96.83 kB / 473.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1724, allocations: 4 kB / 473.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1725, allocations: 11.92 kB / 473.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1726, allocations: 11.98 kB / 473.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1726, allocations: 4 kB / 473.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1728, allocations: 186 kB / 473.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1728, allocations: 0 / 473.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1731, allocations: 52 kB / 474 MB, free: 8.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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.0001248/0.1733, allocations: 99.19 kB / 474.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.1736, allocations: 152.5 kB / 474.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.1736, allocations: 0 / 474.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1737, allocations: 84 kB / 474.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1743, allocations: 49.19 kB / 474.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1754, allocations: 0.6721 MB / 475 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.1759, allocations: 0.7833 MB / 475.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.176, allocations: 46.25 kB / 475.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1761, allocations: 19.44 kB / 475.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1761, allocations: 0 / 475.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Templates: time 0.00628/0.1824, allocations: 2.105 MB / 478 MB, free: 4.289 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)