Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001746/0.001746, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001894/0.001894, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.638/1.638, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2025/0.2025, allocations: 38.5 MB / 348.7 MB, free: 2.605 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002022/0.002022, allocations: 63.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1196, allocations: 62.42 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009408/0.129, allocations: 6.754 MB / 0.5433 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.1332, allocations: 2.177 MB / 0.5454 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1335, allocations: 35.75 kB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1349, allocations: 0.5132 MB / 0.5459 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.1362, allocations: 0.5756 MB / 0.5465 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.1371, allocations: 343.3 kB / 0.5468 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1386, allocations: 1.302 MB / 0.5481 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.1395, allocations: 0.6035 MB / 0.5487 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.1404, allocations: 0.5567 MB / 0.5492 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1415, allocations: 0.7791 MB / 0.55 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1417, allocations: 104 kB / 0.5501 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1427, allocations: 0.6357 MB / 0.5507 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.1432, allocations: 494.8 kB / 0.5512 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.1438, allocations: 0.5212 MB / 0.5517 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.1455, allocations: 1.549 MB / 0.5532 GB, free: 6.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1455, allocations: 0 / 0.5532 GB, free: 6.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1455, allocations: 0 / 0.5532 GB, free: 6.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1456, allocations: 0 / 0.5532 GB, free: 6.547 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003202/0.1488, allocations: 1.401 MB / 0.5546 GB, free: 5.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1488, allocations: 12.03 kB / 0.5546 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.149, allocations: 143.8 kB / 0.5547 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.1499, allocations: 176.2 kB / 0.5549 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.1513, allocations: 0.6925 MB / 0.5556 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.1516, allocations: 175.4 kB / 0.5557 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.1518, allocations: 91.92 kB / 0.5558 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.1543, allocations: 1.402 MB / 0.5572 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1543, allocations: 0 / 0.5572 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1544, allocations: 32 kB / 0.5572 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/0.1546, allocations: 81.94 kB / 0.5573 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.1577, allocations: 1.522 MB / 0.5588 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007808/0.1655, allocations: 4.424 MB / 0.5631 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.1681, allocations: 1.128 MB / 0.5642 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.1695, allocations: 0.7036 MB / 0.5649 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/0.1696, allocations: 16.58 kB / 0.5649 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.1696, allocations: 43.22 kB / 0.5649 GB, free: 10.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 3.436e-06/0.1696, allocations: 0 / 0.5649 GB, free: 10.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.007813/0.1774, allocations: 3.868 MB / 0.5687 GB, free: 6.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.1775, allocations: 94.11 kB / 0.5688 GB, free: 6.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.1781, allocations: 401.8 kB / 0.5692 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.1781, allocations: 41.7 kB / 0.5692 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.1784, allocations: 353.1 kB / 0.5696 GB, free: 5.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.1788, allocations: 364.8 kB / 0.5699 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.1791, allocations: 170.6 kB / 0.5701 GB, free: 4.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1793, allocations: 370.8 kB / 0.5704 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.1805, allocations: 0.5953 MB / 0.571 GB, free: 3.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.1818, allocations: 0.7502 MB / 0.5718 GB, free: 3.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.1844, allocations: 1.387 MB / 0.5731 GB, free: 1.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1844, allocations: 8 kB / 0.5731 GB, free: 1.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003164/0.1876, allocations: 1.592 MB / 0.5747 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.1876, allocations: 8.188 kB / 0.5747 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.1876, allocations: 12 kB / 0.5747 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.1878, allocations: 40.83 kB / 0.5747 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.1905, allocations: 0.4914 MB / 0.5752 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008282/0.1988, allocations: 6.694 MB / 0.5817 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.1999, allocations: 87.81 kB / 0.5818 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2, allocations: 32 kB / 0.5819 GB, free: 8.047 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007855/0.2008, allocations: 317.7 kB / 0.5822 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.2012, allocations: 71.52 kB / 0.5822 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.2047, allocations: 1.584 MB / 0.5838 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/0.2047, allocations: 23.98 kB / 0.5838 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2047, allocations: 0 / 0.5838 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2048, allocations: 3.984 kB / 0.5838 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.21, allocations: 2.884 MB / 0.5866 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.21, allocations: 4 kB / 0.5866 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/0.2131, allocations: 0.5268 MB / 0.5871 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.2132, allocations: 40.78 kB / 0.5872 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/0.2133, allocations: 19.98 kB / 0.5872 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.2148, allocations: 1.634 MB / 0.5888 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2148, allocations: 8.094 kB / 0.5888 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2371/0.4518, allocations: 2.53 MB / 0.5913 GB, free: 50.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.452, allocations: 138.4 kB / 0.5914 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4521, allocations: 20.92 kB / 0.5914 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.4528, allocations: 70.34 kB / 0.5915 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.453, allocations: 83.48 kB / 0.5916 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.4531, allocations: 24.72 kB / 0.5916 GB, free: 50.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.4534, allocations: 283.3 kB / 0.5919 GB, free: 50.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4534, allocations: 0 / 0.5919 GB, free: 50.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000964/0.4543, allocations: 236.6 kB / 0.5921 GB, free: 50.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004923/0.4593, allocations: 3.152 MB / 0.5952 GB, free: 48.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004731/0.464, allocations: 1.753 MB / 0.5969 GB, free: 48.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.464, allocations: 0.9062 kB / 0.5969 GB, free: 48.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.4673, allocations: 1.133 MB / 0.598 GB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4683, allocations: 162.5 kB / 0.5981 GB, free: 48.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.4838, allocations: 9.132 MB / 0.6071 GB, free: 43.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.4846, allocations: 1.09 MB / 0.6081 GB, free: 42.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008549/0.4854, allocations: 265.6 kB / 0.6084 GB, free: 42.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.4859, allocations: 289.4 kB / 0.6087 GB, free: 42.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4859, allocations: 0 / 0.6087 GB, free: 42.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06823/0.5541, allocations: 18.13 MB / 0.6264 GB, free: 29.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.89, allocations: 14.59 kB / 0.6264 GB, free: 29.54 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.121223819995066] Failed to read output from testmodel.py, exit status != 0: 13.9994575860037 14.015790258 13.867114136 Calling exit ...