Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001691/0.001691, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001516/0.001516, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1873/0.1873, allocations: 38.53 MB / 352.5 MB, free: 12.52 MB / 286.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.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",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.002149/0.002149, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3809, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.009268/0.3902, allocations: 6.688 MB / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.3948, allocations: 2.519 MB / 0.551 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.3953, allocations: 36.59 kB / 0.551 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.3966, allocations: 446.8 kB / 0.5515 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3981, allocations: 0.602 MB / 0.552 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3994, allocations: 497.3 kB / 0.5525 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.4017, allocations: 1.967 MB / 0.5544 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.4025, allocations: 0.5642 MB / 0.555 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.404, allocations: 0.8192 MB / 0.5558 GB, free: 6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.4055, allocations: 1.027 MB / 0.5568 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.4058, allocations: 160 kB / 0.5569 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4071, allocations: 0.6944 MB / 0.5576 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.4078, allocations: 0.6548 MB / 0.5583 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008152/0.4086, allocations: 0.6731 MB / 0.5589 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.411, allocations: 2.048 MB / 0.5609 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.411, allocations: 0 / 0.5609 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.411, allocations: 0 / 0.5609 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.411, allocations: 0 / 0.5609 GB, free: 1.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005405/0.4164, allocations: 1.862 MB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4164, allocations: 15.98 kB / 0.5628 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.4167, allocations: 172.3 kB / 0.5629 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.4176, allocations: 200.1 kB / 0.5631 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4201, allocations: 0.8956 MB / 0.564 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/0.4212, allocations: 1.128 MB / 0.5651 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.4216, allocations: 103.9 kB / 0.5652 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.4259, allocations: 2.015 MB / 0.5672 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4259, allocations: 0 / 0.5672 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.426, allocations: 32 kB / 0.5672 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.4262, allocations: 97.88 kB / 0.5673 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/0.4314, allocations: 2.244 MB / 0.5695 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.4422, allocations: 5.628 MB / 0.575 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.4468, allocations: 1.608 MB / 0.5765 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.4497, allocations: 1.062 MB / 0.5776 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.4498, allocations: 13 kB / 0.5776 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003155/0.453, allocations: 1.395 MB / 0.5789 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.487e-06/0.453, allocations: 0 / 0.5789 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01445/0.4674, allocations: 5.568 MB / 0.5844 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.4675, allocations: 102.1 kB / 0.5845 GB, free: 8.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.4682, allocations: 498 kB / 0.585 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.4683, allocations: 61.69 kB / 0.585 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.4687, allocations: 369.5 kB / 0.5854 GB, free: 7.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.4691, allocations: 440.3 kB / 0.5858 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/0.4695, allocations: 222.9 kB / 0.586 GB, free: 6.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4698, allocations: 402.8 kB / 0.5864 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.4719, allocations: 1.021 MB / 0.5874 GB, free: 5.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.4743, allocations: 1.18 MB / 0.5885 GB, free: 4.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004513/0.4788, allocations: 2.032 MB / 0.5905 GB, free: 2.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4788, allocations: 4 kB / 0.5905 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01166/0.4905, allocations: 3.88 MB / 0.5943 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.4906, allocations: 61.67 kB / 0.5944 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4906, allocations: 4 kB / 0.5944 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.497, allocations: 2.081 MB / 0.5964 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009778/0.498, allocations: 183.8 kB / 0.5966 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/0.5254, allocations: 11.22 MB / 0.6075 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.5267, allocations: 167.8 kB / 0.6077 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.5269, allocations: 72.06 kB / 0.6078 GB, free: 276 kB / 446.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007312/0.5277, allocations: 385.4 kB / 0.6081 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.5279, allocations: 83.48 kB / 0.6082 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.5339, allocations: 2.361 MB / 0.6105 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-05/0.5339, allocations: 31.92 kB / 0.6105 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5339, allocations: 0 / 0.6105 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5339, allocations: 3.984 kB / 0.6106 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009174/0.5431, allocations: 4.069 MB / 0.6145 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5431, allocations: 8.188 kB / 0.6145 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01071/0.5538, allocations: 2.017 MB / 0.6165 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/0.5539, allocations: 11.94 kB / 0.6165 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.5541, allocations: 39.95 kB / 0.6166 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.5541, allocations: 4 kB / 0.6166 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5541, allocations: 4 kB / 0.6166 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008827/0.5629, allocations: 3.863 MB / 0.6203 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/0.5639, allocations: 271.3 kB / 0.6206 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.5641, allocations: 91.88 kB / 0.6207 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5656, allocations: 179.8 kB / 0.6209 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/0.566, allocations: 196.6 kB / 0.621 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.5661, allocations: 43.97 kB / 0.6211 GB, free: 2.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.5666, allocations: 346.8 kB / 0.6214 GB, free: 2.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5666, allocations: 0 / 0.6214 GB, free: 2.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001183/0.5678, allocations: 351.9 kB / 0.6217 GB, free: 1.801 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.009371/0.5772, allocations: 4.535 MB / 0.6262 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006897/0.584, allocations: 2.811 MB / 0.6289 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5841, allocations: 0 / 0.6289 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006233/0.5903, allocations: 1.856 MB / 0.6307 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5915, allocations: 191.6 kB / 0.6309 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03652/0.628, allocations: 15.66 MB / 0.6462 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/0.629, allocations: 1.14 MB / 0.6473 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001105/0.6301, allocations: 326.7 kB / 0.6476 GB, free: 6.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/0.6308, allocations: 343.3 kB / 0.648 GB, free: 6.578 MB / 494.1 MB Notification: Performance of SimCode: time 1.913e-06/0.6308, allocations: 0 / 0.648 GB, free: 6.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07726/0.7081, allocations: 34.14 MB / 0.6813 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.33, allocations: 3.266 kB / 0.6813 GB, free: 4.629 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad_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_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.744448601995828] Failed to read output from testmodel.py, exit status != 0: 15.468720129996655 15.491068237 15.076763988 Calling exit ...