Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001774/0.001774, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002261/0.002261, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.604/1.604, 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.1857/0.1857, allocations: 38.5 MB / 348.7 MB, free: 2.695 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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.00208/0.00208, allocations: 67.89 kB / 487.1 MB, free: 22.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 62.41 MB / 0.5367 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006964/0.1391, allocations: 4.461 MB / 0.541 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1425, allocations: 1.589 MB / 0.5426 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.1429, allocations: 19.81 kB / 0.5426 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.144, allocations: 290.3 kB / 0.5429 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008999/0.1449, allocations: 290.6 kB / 0.5431 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000911/0.1458, allocations: 247.4 kB / 0.5434 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009581/0.1468, allocations: 0.6079 MB / 0.544 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.1473, allocations: 183.8 kB / 0.5442 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.148, allocations: 287 kB / 0.5444 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.1487, allocations: 402.7 kB / 0.5448 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.1488, allocations: 36 kB / 0.5448 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.1494, allocations: 239.6 kB / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.1497, allocations: 239.3 kB / 0.5453 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.15, allocations: 250.8 kB / 0.5455 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009946/0.151, allocations: 0.6771 MB / 0.5462 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.151, allocations: 3.938 kB / 0.5462 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.151, allocations: 4 kB / 0.5462 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.151, allocations: 0 / 0.5462 GB, free: 13.88 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001912/0.1529, allocations: 0.7809 MB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.153, allocations: 8.031 kB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.1531, allocations: 90.69 kB / 0.5471 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.154, allocations: 132.5 kB / 0.5472 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1547, allocations: 423.4 kB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1548, allocations: 29.36 kB / 0.5476 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.1549, allocations: 43.94 kB / 0.5477 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.156, allocations: 0.7031 MB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1561, allocations: 0 / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.1561, allocations: 12 kB / 0.5484 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.1564, allocations: 72.94 kB / 0.5484 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1576, allocations: 0.6635 MB / 0.5491 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.1618, allocations: 2.651 MB / 0.5517 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.1624, allocations: 301.2 kB / 0.552 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.1628, allocations: 197.6 kB / 0.5521 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.1628, allocations: 7.984 kB / 0.5522 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.1629, allocations: 38.56 kB / 0.5522 GB, free: 7.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.186e-06/0.1629, allocations: 0 / 0.5522 GB, free: 7.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002349/0.1652, allocations: 1.315 MB / 0.5535 GB, free: 6.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1653, allocations: 85.05 kB / 0.5536 GB, free: 5.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.1657, allocations: 287.3 kB / 0.5538 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1657, allocations: 33.69 kB / 0.5539 GB, free: 5.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1659, allocations: 260.4 kB / 0.5541 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1661, allocations: 146.7 kB / 0.5542 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1662, allocations: 90.08 kB / 0.5543 GB, free: 5.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1664, allocations: 346.8 kB / 0.5547 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.1667, allocations: 188.9 kB / 0.5548 GB, free: 4.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.1671, allocations: 329.3 kB / 0.5552 GB, free: 4.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.1679, allocations: 0.5506 MB / 0.5557 GB, free: 3.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1679, allocations: 8 kB / 0.5557 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001391/0.1693, allocations: 0.6822 MB / 0.5564 GB, free: 2.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1693, allocations: 4 kB / 0.5564 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008999/0.1702, allocations: 487.5 kB / 0.5568 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.1707, allocations: 109.6 kB / 0.5569 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1711, allocations: 80.05 kB / 0.557 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.1746, allocations: 3.27 MB / 0.5602 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.1749, allocations: 23.98 kB / 0.5602 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.175, allocations: 19.94 kB / 0.5603 GB, free: 14.64 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: 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.1754, allocations: 209.7 kB / 0.5605 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1756, allocations: 31.77 kB / 0.5605 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.1765, allocations: 476.6 kB / 0.5609 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.1765, allocations: 15.98 kB / 0.561 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1765, allocations: 7.938 kB / 0.561 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1765, allocations: 0 / 0.561 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.1783, allocations: 1.015 MB / 0.562 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1783, allocations: 0 / 0.562 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.1787, allocations: 67.89 kB / 0.562 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1787, allocations: 8 kB / 0.562 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1787, allocations: 8 kB / 0.562 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1787, allocations: 4 kB / 0.562 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1787, allocations: 0 / 0.562 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1798, allocations: 0.7397 MB / 0.5628 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.1799, allocations: 148.8 kB / 0.5629 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.18, allocations: 8 kB / 0.5629 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1802, allocations: 23.91 kB / 0.5629 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.1802, allocations: 15.97 kB / 0.5629 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1803, allocations: 12 kB / 0.563 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.1805, allocations: 203.1 kB / 0.5632 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1805, allocations: 0 / 0.5632 GB, free: 11.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000561/0.181, allocations: 112 kB / 0.5633 GB, free: 11.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.001639/0.1827, allocations: 1.324 MB / 0.5646 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1839, allocations: 0.6849 MB / 0.5652 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1839, allocations: 1.125 kB / 0.5652 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.1842, allocations: 195.8 kB / 0.5654 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.1848, allocations: 71.2 kB / 0.5655 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/0.1912, allocations: 4.39 MB / 0.5698 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.1919, allocations: 0.886 MB / 0.5706 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.1922, allocations: 107.2 kB / 0.5707 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.1924, allocations: 139.4 kB / 0.5709 GB, free: 3.332 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1924, allocations: 0 / 0.5709 GB, free: 3.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.2314, allocations: 8.274 MB / 0.5789 GB, free: 11.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.6, allocations: 7.938 kB / 0.579 GB, free: 11.15 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source_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_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.952738480002154] Failed to read output from testmodel.py, exit status != 0: 10.690066258001025 10.917931839 10.550535557 Calling exit ...