Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001279/0.001279, allocations: 123.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.001429/0.001429, allocations: 200.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.553/1.553, 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.1869/0.1869, allocations: 38.51 MB / 348.7 MB, free: 2.598 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.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",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.001989/0.001989, allocations: 59.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1435, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008376/0.1519, allocations: 4.85 MB / 0.5414 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.155, allocations: 1.511 MB / 0.5429 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.1554, allocations: 23.81 kB / 0.5429 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1559, allocations: 111.1 kB / 0.543 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.1568, allocations: 270.4 kB / 0.5433 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1572, allocations: 139.7 kB / 0.5434 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009767/0.1582, allocations: 0.5876 MB / 0.544 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.1588, allocations: 334.5 kB / 0.5443 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.1592, allocations: 255.1 kB / 0.5445 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.1597, allocations: 243 kB / 0.5448 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.1597, allocations: 40 kB / 0.5448 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.1598, allocations: 40 kB / 0.5448 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.16, allocations: 127.6 kB / 0.545 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.1603, allocations: 226.9 kB / 0.5452 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.161, allocations: 0.5019 MB / 0.5457 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.161, allocations: 4 kB / 0.5457 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.161, allocations: 0 / 0.5457 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.161, allocations: 4 kB / 0.5457 GB, free: 14.3 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001486/0.1625, allocations: 0.7066 MB / 0.5464 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1626, allocations: 12.03 kB / 0.5464 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1627, allocations: 74.72 kB / 0.5464 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1628, allocations: 48.66 kB / 0.5465 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.1635, allocations: 432 kB / 0.5469 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1636, allocations: 54.7 kB / 0.547 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.1637, allocations: 36 kB / 0.547 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008708/0.1646, allocations: 432.1 kB / 0.5474 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1646, allocations: 4 kB / 0.5474 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.1647, allocations: 16 kB / 0.5474 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1647, allocations: 8 kB / 0.5474 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.1653, allocations: 277.9 kB / 0.5477 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.168, allocations: 1.838 MB / 0.5495 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.1684, allocations: 171.7 kB / 0.5497 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.1685, allocations: 66.61 kB / 0.5497 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1685, allocations: 0 / 0.5497 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1686, allocations: 42.5 kB / 0.5498 GB, free: 9.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.1686, allocations: 0 / 0.5498 GB, free: 9.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001622/0.1702, allocations: 0.7288 MB / 0.5505 GB, free: 9.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.1703, allocations: 102.8 kB / 0.5506 GB, free: 8.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.1707, allocations: 316.5 kB / 0.5509 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1707, allocations: 29.7 kB / 0.5509 GB, free: 8.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1709, allocations: 248.3 kB / 0.5511 GB, free: 8.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.171, allocations: 79.41 kB / 0.5512 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1712, allocations: 65.98 kB / 0.5513 GB, free: 8.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1713, allocations: 342.8 kB / 0.5516 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1715, allocations: 68.62 kB / 0.5517 GB, free: 7.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1718, allocations: 212.4 kB / 0.5519 GB, free: 7.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.1723, allocations: 291.2 kB / 0.5521 GB, free: 7.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1723, allocations: 4 kB / 0.5521 GB, free: 7.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006043/0.1729, allocations: 329.3 kB / 0.5525 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1729, allocations: 12.09 kB / 0.5525 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1729, allocations: 7.938 kB / 0.5525 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1729, allocations: 4 kB / 0.5525 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1733, allocations: 79.84 kB / 0.5526 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.1733, allocations: 11.98 kB / 0.5526 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1735, allocations: 11.98 kB / 0.5526 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.1735, allocations: 16 kB / 0.5526 GB, free: 6.664 MB / 414.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): 40 * 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.0002614/0.1738, allocations: 186.3 kB / 0.5528 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.1739, allocations: 39.73 kB / 0.5528 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.1743, allocations: 195.5 kB / 0.553 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1743, allocations: 0 / 0.553 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1743, allocations: 4 kB / 0.553 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1743, allocations: 0 / 0.553 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1755, allocations: 0.6161 MB / 0.5536 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1755, allocations: 7.969 kB / 0.5536 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1758, allocations: 43.91 kB / 0.5537 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1758, allocations: 0 / 0.5537 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1758, allocations: 8 kB / 0.5537 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1758, allocations: 4 kB / 0.5537 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1758, allocations: 0 / 0.5537 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.1765, allocations: 456.1 kB / 0.5541 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.1766, allocations: 100.9 kB / 0.5542 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.1766, allocations: 8 kB / 0.5542 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1768, allocations: 8.031 kB / 0.5542 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.1769, allocations: 11.98 kB / 0.5542 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1769, allocations: 4 kB / 0.5542 GB, free: 4.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.1772, allocations: 227 kB / 0.5544 GB, free: 4.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1772, allocations: 0 / 0.5544 GB, free: 4.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.1776, allocations: 72 kB / 0.5545 GB, free: 4.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.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 (20): * Single equations (assignments): 19 * 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.0009677/0.1786, allocations: 0.9748 MB / 0.5555 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.1791, allocations: 187.8 kB / 0.5556 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1791, allocations: 4 kB / 0.5557 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1792, allocations: 80.03 kB / 0.5557 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.1799, allocations: 106.4 kB / 0.5558 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.1851, allocations: 3.433 MB / 0.5592 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.1856, allocations: 0.8107 MB / 0.56 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1858, allocations: 47.27 kB / 0.56 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.186, allocations: 119.4 kB / 0.5601 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.186, allocations: 4 kB / 0.5601 GB, free: 14.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.2222, allocations: 7.085 MB / 0.5671 GB, free: 7.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/8.741, allocations: 4 kB / 0.5671 GB, free: 7.613 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.844334738998441] Failed to read output from testmodel.py, exit status != 0: 8.81392279099964 8.829237299 8.665095517 Calling exit ...