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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002088/0.002088, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1863/0.1863, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.001956/0.001956, allocations: 72.12 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 62.47 MB / 0.5419 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008839/0.3162, allocations: 6.22 MB / 0.548 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.3211, allocations: 2.34 MB / 0.5503 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.3218, allocations: 36.88 kB / 0.5503 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.3233, allocations: 424.1 kB / 0.5507 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.325, allocations: 0.5984 MB / 0.5513 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3263, allocations: 0.4937 MB / 0.5518 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.329, allocations: 1.961 MB / 0.5537 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.33, allocations: 0.5648 MB / 0.5543 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.3317, allocations: 0.8227 MB / 0.5551 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.3337, allocations: 1.025 MB / 0.5561 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005271/0.3343, allocations: 160 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.3358, allocations: 0.6631 MB / 0.5569 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009655/0.3368, allocations: 0.6626 MB / 0.5575 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3379, allocations: 0.5721 MB / 0.5581 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.3407, allocations: 2.064 MB / 0.5601 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3407, allocations: 0 / 0.5601 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3407, allocations: 0 / 0.5601 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.042e-05/0.3408, allocations: 4 kB / 0.5601 GB, free: 1.637 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.005841/0.3466, allocations: 1.86 MB / 0.5619 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3467, allocations: 15.97 kB / 0.5619 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/0.3471, allocations: 168.4 kB / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.3483, allocations: 204.1 kB / 0.5623 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.351, allocations: 0.8956 MB / 0.5632 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/0.3522, allocations: 1.123 MB / 0.5643 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.3526, allocations: 103.9 kB / 0.5644 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.3572, allocations: 2.011 MB / 0.5663 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.3572, allocations: 7.938 kB / 0.5663 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.3574, allocations: 32 kB / 0.5664 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/0.3576, allocations: 93.94 kB / 0.5665 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.363, allocations: 2.233 MB / 0.5686 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3736, allocations: 5.3 MB / 0.5738 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/0.3784, allocations: 1.617 MB / 0.5754 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.3811, allocations: 1.07 MB / 0.5764 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.667e-05/0.3812, allocations: 13 kB / 0.5764 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003117/0.3843, allocations: 1.387 MB / 0.5778 GB, free: 15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 4.008e-06/0.3843, allocations: 0 / 0.5778 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01434/0.3987, allocations: 5.561 MB / 0.5832 GB, free: 9.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.3988, allocations: 106.1 kB / 0.5833 GB, free: 9.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.3995, allocations: 0.494 MB / 0.5838 GB, free: 8.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.3996, allocations: 57.7 kB / 0.5839 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.3999, allocations: 373.5 kB / 0.5842 GB, free: 8.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.4004, allocations: 436.3 kB / 0.5846 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.4008, allocations: 222.9 kB / 0.5849 GB, free: 7.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.401, allocations: 394.7 kB / 0.5852 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.4032, allocations: 1.07 MB / 0.5863 GB, free: 6.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.4056, allocations: 1.229 MB / 0.5875 GB, free: 4.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.4097, allocations: 2.035 MB / 0.5895 GB, free: 2.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4097, allocations: 3.938 kB / 0.5895 GB, free: 2.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01158/0.4213, allocations: 3.925 MB / 0.5933 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.4214, allocations: 65.61 kB / 0.5934 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.4214, allocations: 12.19 kB / 0.5934 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006461/0.4279, allocations: 2.061 MB / 0.5954 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.4289, allocations: 195.7 kB / 0.5956 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02813/0.4571, allocations: 11.1 MB / 0.6064 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4585, allocations: 167.8 kB / 0.6066 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.4587, allocations: 79.88 kB / 0.6066 GB, free: 1.113 MB / 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.000768/0.4595, allocations: 377.4 kB / 0.607 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.4598, allocations: 87.47 kB / 0.6071 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.4659, allocations: 2.35 MB / 0.6094 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.4659, allocations: 27.98 kB / 0.6094 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4659, allocations: 4 kB / 0.6094 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4659, allocations: 11.92 kB / 0.6094 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.4751, allocations: 3.882 MB / 0.6132 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4751, allocations: 256 / 0.6132 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01137/0.4865, allocations: 2.021 MB / 0.6152 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/0.4865, allocations: 8 kB / 0.6152 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.4867, allocations: 31.97 kB / 0.6152 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.4867, allocations: 4 kB / 0.6152 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.4867, allocations: 7.938 kB / 0.6152 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009274/0.496, allocations: 3.875 MB / 0.619 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/0.4968, allocations: 267.3 kB / 0.6193 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.497, allocations: 84.06 kB / 0.6194 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.4985, allocations: 195.7 kB / 0.6195 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/0.499, allocations: 192.6 kB / 0.6197 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.4991, allocations: 40.16 kB / 0.6198 GB, free: 3.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004661/0.4996, allocations: 350.8 kB / 0.6201 GB, free: 3.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4996, allocations: 3.938 kB / 0.6201 GB, free: 3.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001179/0.5008, allocations: 347.9 kB / 0.6204 GB, free: 2.84 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.009712/0.5105, allocations: 4.533 MB / 0.6249 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00771/0.5182, allocations: 2.839 MB / 0.6276 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.5182, allocations: 4.188 kB / 0.6276 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006997/0.5252, allocations: 1.86 MB / 0.6295 GB, free: 9.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5266, allocations: 182.8 kB / 0.6296 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/0.567, allocations: 15.84 MB / 0.6451 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.5678, allocations: 0.5453 MB / 0.6456 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.5688, allocations: 314.7 kB / 0.6459 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.5696, allocations: 343.3 kB / 0.6463 GB, free: 7.984 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5696, allocations: 4 kB / 0.6463 GB, free: 7.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08144/0.651, allocations: 33.21 MB / 0.6787 GB, free: 7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.35, allocations: 4.062 kB / 0.6787 GB, free: 6.996 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: 18.84340825001709] Failed to read output from testmodel.py, exit status != 0: 14.52500668913126 14.54969382 14.205017831 Calling exit ...