Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1837/0.1837, allocations: 38.51 MB / 348.7 MB, free: 2.617 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 62.42 MB / 0.5367 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007621/0.1331, allocations: 4.562 MB / 0.5411 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.1364, allocations: 1.457 MB / 0.5425 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.1367, allocations: 23.81 kB / 0.5426 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1377, allocations: 298.6 kB / 0.5429 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.1385, allocations: 278.7 kB / 0.5431 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.1393, allocations: 259.4 kB / 0.5434 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008647/0.1402, allocations: 0.6547 MB / 0.544 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.1406, allocations: 208.1 kB / 0.5442 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.1411, allocations: 306.9 kB / 0.5445 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.1417, allocations: 458.6 kB / 0.5449 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.1418, allocations: 44 kB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.1423, allocations: 231.7 kB / 0.5452 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.1426, allocations: 255.3 kB / 0.5454 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.1429, allocations: 286.5 kB / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.144, allocations: 0.7589 MB / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.144, allocations: 0 / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.144, allocations: 0 / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.144, allocations: 0 / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001853/0.1459, allocations: 0.8993 MB / 0.5473 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1459, allocations: 12.03 kB / 0.5473 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1461, allocations: 90.7 kB / 0.5474 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.1468, allocations: 132.4 kB / 0.5476 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.1476, allocations: 440.2 kB / 0.548 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.1476, allocations: 29.31 kB / 0.548 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.1477, allocations: 47.92 kB / 0.5481 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.149, allocations: 0.859 MB / 0.5489 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.149, allocations: 4 kB / 0.5489 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.1491, allocations: 23.94 kB / 0.5489 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.1492, allocations: 60.94 kB / 0.549 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1505, allocations: 0.7963 MB / 0.5498 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.1547, allocations: 2.707 MB / 0.5524 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.1556, allocations: 0.4899 MB / 0.5529 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.1562, allocations: 362.7 kB / 0.5532 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1562, allocations: 11.97 kB / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.1562, allocations: 42.5 kB / 0.5533 GB, free: 6.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.534e-06/0.1562, allocations: 3.938 kB / 0.5533 GB, free: 6.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003232/0.1595, allocations: 1.88 MB / 0.5551 GB, free: 4.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.1596, allocations: 142.8 kB / 0.5553 GB, free: 4.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.16, allocations: 300.4 kB / 0.5555 GB, free: 3.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.16, allocations: 33.83 kB / 0.5556 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.1602, allocations: 268.9 kB / 0.5558 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.1605, allocations: 194.3 kB / 0.556 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1606, allocations: 98.06 kB / 0.5561 GB, free: 3.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1608, allocations: 358.7 kB / 0.5564 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.1613, allocations: 340.9 kB / 0.5568 GB, free: 2.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.1619, allocations: 485.8 kB / 0.5572 GB, free: 2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.1633, allocations: 0.9837 MB / 0.5582 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1633, allocations: 0 / 0.5582 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00166/0.1649, allocations: 0.9811 MB / 0.5592 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.165, allocations: 81.59 kB / 0.5592 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1651, allocations: 4 kB / 0.5592 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.1653, allocations: 36.84 kB / 0.5593 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1656, allocations: 91.81 kB / 0.5594 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.1672, allocations: 1.547 MB / 0.5609 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.1677, allocations: 35.95 kB / 0.5609 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.1678, allocations: 31.92 kB / 0.5609 GB, free: 13.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005525/0.1683, allocations: 307.2 kB / 0.5612 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.1685, allocations: 43.72 kB / 0.5613 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.1708, allocations: 1.08 MB / 0.5623 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.1708, allocations: 12 kB / 0.5623 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1708, allocations: 3.938 kB / 0.5623 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1708, allocations: 0 / 0.5623 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.1738, allocations: 1.804 MB / 0.5641 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1738, allocations: 4 kB / 0.5641 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.1741, allocations: 55.91 kB / 0.5642 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.1743, allocations: 36.83 kB / 0.5642 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.1743, allocations: 11.98 kB / 0.5642 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.1759, allocations: 1.551 MB / 0.5657 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1759, allocations: 4 kB / 0.5657 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1776, allocations: 1.183 MB / 0.5669 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.1779, allocations: 168.8 kB / 0.567 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.178, allocations: 19.98 kB / 0.5671 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.1782, allocations: 31.97 kB / 0.5671 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1784, allocations: 39.89 kB / 0.5671 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.1785, allocations: 19.98 kB / 0.5671 GB, free: 7.305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.1787, allocations: 203.1 kB / 0.5673 GB, free: 7.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 3.938 kB / 0.5673 GB, free: 7.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.1794, allocations: 151.9 kB / 0.5675 GB, free: 6.953 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002349/0.1818, allocations: 1.751 MB / 0.5692 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.1837, allocations: 1.147 MB / 0.5703 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1837, allocations: 0 / 0.5703 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.1847, allocations: 0.707 MB / 0.571 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.1853, allocations: 75.62 kB / 0.5711 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.1937, allocations: 5.888 MB / 0.5768 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.1943, allocations: 0.9132 MB / 0.5777 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.1946, allocations: 103.2 kB / 0.5778 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.1949, allocations: 155.4 kB / 0.578 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1949, allocations: 0 / 0.578 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.2357, allocations: 10.37 MB / 0.5881 GB, free: 1.617 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.66, allocations: 6.047 kB / 0.5881 GB, free: 1.613 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.866137076998712] Failed to read output from testmodel.py, exit status != 0: 10.746681906995946 10.969156967 10.822661033 Calling exit ...