Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001241/0.001241, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001303/0.001303, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.538/1.538, 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.2009/0.2009, 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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",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.002052/0.002052, allocations: 63.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1313, allocations: 62.41 MB / 0.5367 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008441/0.1398, allocations: 6.33 MB / 0.5428 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1426, allocations: 1.457 MB / 0.5443 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.143, allocations: 35.69 kB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.1436, allocations: 146.8 kB / 0.5444 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.1447, allocations: 418 kB / 0.5448 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.1453, allocations: 195.6 kB / 0.545 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.1467, allocations: 1.083 MB / 0.5461 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.1472, allocations: 284.7 kB / 0.5464 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008955/0.1481, allocations: 482.2 kB / 0.5468 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000863/0.1489, allocations: 0.5529 MB / 0.5474 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.149, allocations: 68 kB / 0.5474 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1492, allocations: 64 kB / 0.5475 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.1495, allocations: 319.1 kB / 0.5478 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.1499, allocations: 358.4 kB / 0.5481 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1509, allocations: 0.8522 MB / 0.549 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1509, allocations: 0 / 0.549 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1509, allocations: 0 / 0.549 GB, free: 10.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1509, allocations: 0 / 0.549 GB, free: 10.92 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.002288/0.1532, allocations: 1.023 MB / 0.55 GB, free: 9.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1533, allocations: 8.031 kB / 0.55 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.1534, allocations: 102.6 kB / 0.5501 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1535, allocations: 72.52 kB / 0.5501 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1546, allocations: 0.589 MB / 0.5507 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.1548, allocations: 112.6 kB / 0.5508 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.155, allocations: 52 kB / 0.5509 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1564, allocations: 0.7733 MB / 0.5516 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1564, allocations: 7.938 kB / 0.5516 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.1565, allocations: 20 kB / 0.5516 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.1566, allocations: 36.97 kB / 0.5517 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.1581, allocations: 0.722 MB / 0.5524 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.1622, allocations: 2.605 MB / 0.5549 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.164, allocations: 0.7772 MB / 0.5557 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.1647, allocations: 363.4 kB / 0.556 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.1648, allocations: 16.44 kB / 0.5561 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.1648, allocations: 35 kB / 0.5561 GB, free: 3.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.1648, allocations: 3.938 kB / 0.5561 GB, free: 3.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.004618/0.1694, allocations: 2.156 MB / 0.5582 GB, free: 1.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.1695, allocations: 85.58 kB / 0.5583 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.17, allocations: 398 kB / 0.5587 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.17, allocations: 33.7 kB / 0.5587 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1702, allocations: 293 kB / 0.559 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1704, allocations: 186.4 kB / 0.5591 GB, free: 40 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1706, allocations: 102.2 kB / 0.5592 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1708, allocations: 358.8 kB / 0.5596 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.1714, allocations: 276.9 kB / 0.5598 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.172, allocations: 381.1 kB / 0.5602 GB, free: 14.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.1733, allocations: 0.6459 MB / 0.5608 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1733, allocations: 0 / 0.5608 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001728/0.175, allocations: 0.876 MB / 0.5617 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.175, allocations: 8 kB / 0.5617 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1751, allocations: 4 kB / 0.5617 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.1753, allocations: 77.92 kB / 0.5618 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.177, allocations: 307.5 kB / 0.5621 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/0.1843, allocations: 6.528 MB / 0.5685 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.1849, allocations: 39.95 kB / 0.5685 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.1849, allocations: 20 kB / 0.5685 GB, free: 5.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0004326/0.1854, allocations: 245.7 kB / 0.5687 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1855, allocations: 51.67 kB / 0.5688 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.1872, allocations: 0.8319 MB / 0.5696 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1872, allocations: 4 kB / 0.5696 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1872, allocations: 0 / 0.5696 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1873, allocations: 7.984 kB / 0.5696 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.1904, allocations: 1.682 MB / 0.5713 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1904, allocations: 0 / 0.5713 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.1923, allocations: 319.7 kB / 0.5716 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.1926, allocations: 93.58 kB / 0.5717 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.1926, allocations: 12 kB / 0.5717 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/0.1953, allocations: 3.161 MB / 0.5748 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.1953, allocations: 7.922 kB / 0.5748 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.1977, allocations: 1.322 MB / 0.5761 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1979, allocations: 116.8 kB / 0.5762 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.1979, allocations: 27.97 kB / 0.5762 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.1983, allocations: 43.95 kB / 0.5762 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.1985, allocations: 39.94 kB / 0.5763 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.1985, allocations: 16 kB / 0.5763 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.1988, allocations: 279.1 kB / 0.5765 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1988, allocations: 0 / 0.5765 GB, free: 13.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007002/0.1995, allocations: 159.9 kB / 0.5767 GB, free: 12.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * 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.002714/0.2022, allocations: 1.869 MB / 0.5785 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.2052, allocations: 1.069 MB / 0.5796 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2052, allocations: 0 / 0.5796 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.2075, allocations: 0.7824 MB / 0.5803 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.2083, allocations: 139.9 kB / 0.5805 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/0.218, allocations: 5.858 MB / 0.5862 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.2186, allocations: 0.9408 MB / 0.5871 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003941/0.219, allocations: 128.7 kB / 0.5872 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.2193, allocations: 195.4 kB / 0.5874 GB, free: 1.492 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2193, allocations: 0 / 0.5874 GB, free: 1.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3149/0.5342, allocations: 13.09 MB / 0.6002 GB, free: 50.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.89, allocations: 9.922 kB / 0.6002 GB, free: 50.23 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.028580804995727] Failed to read output from testmodel.py, exit status != 0: 14.00998448098835 14.032570212 13.877626305 Calling exit ...