Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001426/0.001426, 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.00143/0.00143, 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.624/1.624, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2055/0.2055, allocations: 38.51 MB / 348.7 MB, free: 2.582 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.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",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.002005/0.002005, allocations: 67.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 62.41 MB / 0.5367 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.008463/0.141, allocations: 5.438 MB / 0.542 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007334/0.1483, allocations: 4.217 MB / 0.5461 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.1489, allocations: 27.75 kB / 0.5461 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.1602, allocations: 4.885 MB / 0.5509 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.1616, allocations: 342.4 kB / 0.5512 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.1625, allocations: 251.5 kB / 0.5515 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.1658, allocations: 1.567 MB / 0.553 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.1665, allocations: 316.2 kB / 0.5533 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006843/0.1672, allocations: 382.6 kB / 0.5537 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.1679, allocations: 494.2 kB / 0.5541 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/0.168, allocations: 48 kB / 0.5542 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1684, allocations: 119.8 kB / 0.5543 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.1687, allocations: 279.2 kB / 0.5546 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.1691, allocations: 330.3 kB / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1704, allocations: 0.7509 MB / 0.5556 GB, free: 4.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1704, allocations: 4 kB / 0.5556 GB, free: 4.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1704, allocations: 0 / 0.5556 GB, free: 4.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1704, allocations: 0 / 0.5556 GB, free: 4.09 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001983/0.1724, allocations: 0.927 MB / 0.5565 GB, free: 3.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1724, allocations: 11.97 kB / 0.5565 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.1726, allocations: 94.69 kB / 0.5566 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/0.173, allocations: 88.48 kB / 0.5567 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1743, allocations: 0.5645 MB / 0.5572 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.1743, allocations: 37 kB / 0.5573 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/0.1744, allocations: 51.98 kB / 0.5573 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1756, allocations: 0.6453 MB / 0.558 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1756, allocations: 0 / 0.558 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.1757, allocations: 23.98 kB / 0.558 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.1758, allocations: 56.89 kB / 0.558 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.1767, allocations: 491.6 kB / 0.5585 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/0.1804, allocations: 2.524 MB / 0.561 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.181, allocations: 291.6 kB / 0.5613 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.1813, allocations: 166.5 kB / 0.5614 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1813, allocations: 4.5 kB / 0.5614 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.1813, allocations: 38.5 kB / 0.5615 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1813, allocations: 4 kB / 0.5615 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.003186/0.1845, allocations: 1.65 MB / 0.5631 GB, free: 12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.1846, allocations: 106.8 kB / 0.5632 GB, free: 11.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.1851, allocations: 425.9 kB / 0.5636 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1851, allocations: 29.7 kB / 0.5636 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.1854, allocations: 320.2 kB / 0.5639 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1855, allocations: 130.9 kB / 0.564 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1857, allocations: 82.25 kB / 0.5641 GB, free: 10.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1859, allocations: 370.8 kB / 0.5645 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.1862, allocations: 165 kB / 0.5646 GB, free: 10.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.1866, allocations: 305.7 kB / 0.5649 GB, free: 9.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/0.1874, allocations: 495.4 kB / 0.5654 GB, free: 9.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1874, allocations: 0 / 0.5654 GB, free: 9.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001538/0.1889, allocations: 0.7845 MB / 0.5662 GB, free: 8.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1889, allocations: 11.98 kB / 0.5662 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1889, allocations: 4 kB / 0.5662 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.1896, allocations: 197.5 kB / 0.5664 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.19, allocations: 75.89 kB / 0.5664 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.1954, allocations: 4.246 MB / 0.5706 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.1958, allocations: 15.98 kB / 0.5706 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.1959, allocations: 16 kB / 0.5706 GB, free: 3.777 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 (40): * Single equations (assignments): 38 * Array equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.1962, allocations: 234.6 kB / 0.5708 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1963, allocations: 47.67 kB / 0.5709 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1974, allocations: 0.6379 MB / 0.5715 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1974, allocations: 8 kB / 0.5715 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1974, allocations: 3.984 kB / 0.5715 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1974, allocations: 4.031 kB / 0.5715 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.1994, allocations: 1.195 MB / 0.5727 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1994, allocations: 0 / 0.5727 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.1998, allocations: 67.95 kB / 0.5727 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.2, allocations: 53.61 kB / 0.5728 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.2, allocations: 12 kB / 0.5728 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.2027, allocations: 2.843 MB / 0.5756 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2027, allocations: 3.938 kB / 0.5756 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.204, allocations: 0.9649 MB / 0.5765 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.2042, allocations: 140.8 kB / 0.5767 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.2043, allocations: 12 kB / 0.5767 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.2045, allocations: 15.98 kB / 0.5767 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.2046, allocations: 23.97 kB / 0.5767 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.2046, allocations: 15.98 kB / 0.5767 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.205, allocations: 299.1 kB / 0.577 GB, free: 12.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.205, allocations: 0 / 0.577 GB, free: 12.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006914/0.2057, allocations: 128 kB / 0.5771 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/0.2075, allocations: 1.51 MB / 0.5786 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2091, allocations: 0.7164 MB / 0.5793 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2091, allocations: 0.875 kB / 0.5793 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.2097, allocations: 417.2 kB / 0.5797 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.2105, allocations: 114.8 kB / 0.5798 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008759/0.2193, allocations: 5.554 MB / 0.5852 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.2199, allocations: 0.9444 MB / 0.5862 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.2203, allocations: 100.4 kB / 0.5863 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.2206, allocations: 195.4 kB / 0.5864 GB, free: 2.598 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2206, allocations: 0 / 0.5864 GB, free: 2.598 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3108/0.5314, allocations: 12.27 MB / 0.5984 GB, free: 51.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.33, allocations: 5.781 kB / 0.5984 GB, free: 51.43 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_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_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.49157004900917] Failed to read output from testmodel.py, exit status != 0: 13.431622759992024 13.44357851 13.270649260999999 Calling exit ...