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.001091/0.001091, allocations: 102.7 kB / 16.92 MB, free: 6.145 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.001264/0.001264, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.397/1.397, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1724/0.1724, allocations: 38.03 MB / 329.7 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.7 kB / 398.8 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1317, allocations: 58.07 MB / 456.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006171/0.1379, allocations: 4.026 MB / 460.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1397, allocations: 0.9152 MB / 461.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.14, allocations: 11.94 kB / 461.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1403, allocations: 43.58 kB / 461.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.141, allocations: 179 kB / 462 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1413, allocations: 87.81 kB / 462.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.1419, allocations: 406.5 kB / 462.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.1422, allocations: 122.2 kB / 462.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.1427, allocations: 187.2 kB / 462.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.1431, allocations: 195.3 kB / 463 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.1432, allocations: 20 kB / 463 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1433, allocations: 28 kB / 463.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1434, allocations: 107.7 kB / 463.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1437, allocations: 147.2 kB / 463.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.1441, allocations: 306.9 kB / 463.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1441, allocations: 0 / 463.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1441, allocations: 3.938 kB / 463.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1441, allocations: 3.938 kB / 463.6 MB, free: 1.227 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001326/0.1455, allocations: 0.6167 MB / 464.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1455, allocations: 15.89 kB / 464.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1456, allocations: 32.47 kB / 464.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.1462, allocations: 327 kB / 464.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1462, allocations: 20.94 kB / 464.6 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1462, allocations: 24.12 kB / 464.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.1468, allocations: 320.5 kB / 464.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1468, allocations: 0 / 464.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.1469, allocations: 8 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1469, allocations: 8 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1473, allocations: 221.5 kB / 465.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1491, allocations: 1.348 MB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.1495, allocations: 145.2 kB / 466.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1496, allocations: 65.91 kB / 466.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1497, allocations: 7.938 kB / 466.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1497, allocations: 38.56 kB / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1497, allocations: 0 / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008117/0.1505, allocations: 363.5 kB / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1506, allocations: 77.11 kB / 467.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1508, allocations: 259 kB / 467.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1509, allocations: 29.7 kB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.151, allocations: 207.5 kB / 467.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1511, allocations: 43.48 kB / 467.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.1512, allocations: 49.69 kB / 467.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1513, allocations: 338.8 kB / 468.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1514, allocations: 55.91 kB / 468.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1516, allocations: 149.7 kB / 468.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.1519, allocations: 228.6 kB / 468.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1519, allocations: 4 kB / 468.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003899/0.1523, allocations: 249.7 kB / 468.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1523, allocations: 4.438 kB / 468.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1524, allocations: 8 kB / 468.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1524, allocations: 4 kB / 468.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1526, allocations: 47.91 kB / 468.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1526, allocations: 11.94 kB / 468.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1528, allocations: 11.91 kB / 468.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1528, allocations: 8 kB / 468.9 MB, free: 11.54 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.0001742/0.153, allocations: 165.6 kB / 469 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.153, allocations: 23.72 kB / 469.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.1534, allocations: 199.3 kB / 469.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1534, allocations: 4 kB / 469.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1534, allocations: 0 / 469.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1534, allocations: 0 / 469.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.1542, allocations: 0.5522 MB / 469.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1542, allocations: 4 kB / 469.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1544, allocations: 31.92 kB / 469.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1544, allocations: 4 kB / 469.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1544, allocations: 8.016 kB / 469.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1544, allocations: 3.938 kB / 469.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.1544, allocations: 4 kB / 469.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1548, allocations: 296.3 kB / 470.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1548, allocations: 100.7 kB / 470.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1549, allocations: 0 / 470.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.155, allocations: 11.94 kB / 470.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1551, allocations: 15.92 kB / 470.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1551, allocations: 4 kB / 470.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1553, allocations: 182 kB / 470.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1553, allocations: 0 / 470.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1556, allocations: 51.94 kB / 470.5 MB, free: 9.785 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.0001245/0.1558, allocations: 103.2 kB / 470.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1561, allocations: 171.8 kB / 470.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.1561, allocations: 7.938 kB / 470.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1562, allocations: 75.84 kB / 470.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1567, allocations: 56 kB / 470.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009008/0.1576, allocations: 0.5309 MB / 471.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.158, allocations: 0.7831 MB / 472.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.1582, allocations: 42.25 kB / 472.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.1583, allocations: 23.44 kB / 472.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1583, allocations: 0 / 472.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Templates: time 0.005971/0.1643, allocations: 2.226 MB / 474.5 MB, free: 5.738 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)