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.00184/0.00184, allocations: 115.8 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.001636/0.001636, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1893/0.1893, allocations: 38.53 MB / 352.4 MB, free: 12.55 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.002282/0.002282, allocations: 63.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3342, 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.008777/0.343, allocations: 6.689 MB / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.3478, allocations: 2.514 MB / 0.551 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.3485, allocations: 37.25 kB / 0.551 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3499, allocations: 442.8 kB / 0.5514 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.3517, allocations: 0.6016 MB / 0.552 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.353, allocations: 493.7 kB / 0.5525 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.3556, allocations: 1.975 MB / 0.5544 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.3572, allocations: 0.5646 MB / 0.555 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.3599, allocations: 0.8155 MB / 0.5558 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.3626, allocations: 1.036 MB / 0.5568 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006435/0.3632, allocations: 164 kB / 0.557 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.3652, allocations: 0.6787 MB / 0.5576 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.367, allocations: 0.6626 MB / 0.5583 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.3688, allocations: 0.6652 MB / 0.5589 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.3721, allocations: 2.056 MB / 0.5609 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3721, allocations: 3.938 kB / 0.5609 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3721, allocations: 0 / 0.5609 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.729e-05/0.3722, allocations: 0 / 0.5609 GB, free: 1.094 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.00563/0.3778, allocations: 1.869 MB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3778, allocations: 11.98 kB / 0.5628 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002403/0.3781, allocations: 168.4 kB / 0.5629 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.3789, allocations: 196.1 kB / 0.5631 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3813, allocations: 0.8995 MB / 0.564 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009686/0.3823, allocations: 1.121 MB / 0.5651 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.3826, allocations: 99.94 kB / 0.5652 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.3867, allocations: 2.023 MB / 0.5671 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.3867, allocations: 7.938 kB / 0.5672 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.3868, allocations: 32 kB / 0.5672 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/0.3871, allocations: 89.94 kB / 0.5673 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.392, allocations: 2.236 MB / 0.5695 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.4023, allocations: 5.624 MB / 0.5749 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.4067, allocations: 1.616 MB / 0.5765 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/0.4093, allocations: 1.074 MB / 0.5776 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4094, allocations: 9 kB / 0.5776 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003087/0.4125, allocations: 1.391 MB / 0.5789 GB, free: 14.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.937e-06/0.4125, allocations: 0 / 0.5789 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01366/0.4261, allocations: 5.572 MB / 0.5844 GB, free: 8.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.4262, allocations: 102.1 kB / 0.5845 GB, free: 8.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.4268, allocations: 498 kB / 0.585 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.427, allocations: 57.69 kB / 0.585 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.4273, allocations: 373.5 kB / 0.5854 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.4277, allocations: 440.4 kB / 0.5858 GB, free: 7.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/0.4281, allocations: 226.9 kB / 0.586 GB, free: 6.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4283, allocations: 390.8 kB / 0.5864 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.4305, allocations: 1.025 MB / 0.5874 GB, free: 5.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.4327, allocations: 1.18 MB / 0.5885 GB, free: 4.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.4368, allocations: 2.047 MB / 0.5905 GB, free: 2.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4368, allocations: 0 / 0.5905 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01104/0.4479, allocations: 3.88 MB / 0.5943 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.448, allocations: 53.69 kB / 0.5944 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.448, allocations: 4.234 kB / 0.5944 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006196/0.4542, allocations: 2.081 MB / 0.5964 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4552, allocations: 195.7 kB / 0.5966 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02671/0.482, allocations: 11.21 MB / 0.6075 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.4834, allocations: 159.8 kB / 0.6077 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.4836, allocations: 75.94 kB / 0.6078 GB, free: 280 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.0007238/0.4843, allocations: 377.4 kB / 0.6081 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.4846, allocations: 87.41 kB / 0.6082 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/0.4905, allocations: 2.358 MB / 0.6105 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.4905, allocations: 28 kB / 0.6105 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4905, allocations: 4 kB / 0.6105 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.4905, allocations: 11.97 kB / 0.6106 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009113/0.4996, allocations: 4.069 MB / 0.6145 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4997, allocations: 4 kB / 0.6145 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01035/0.51, allocations: 2.021 MB / 0.6165 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.51, allocations: 7.938 kB / 0.6165 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.5103, allocations: 31.97 kB / 0.6165 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-05/0.5103, allocations: 15.98 kB / 0.6166 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5104, allocations: 7.938 kB / 0.6166 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009111/0.5195, allocations: 3.859 MB / 0.6203 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.5203, allocations: 267.3 kB / 0.6206 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5207, allocations: 87.89 kB / 0.6207 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.5221, allocations: 187.7 kB / 0.6209 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.5225, allocations: 196.6 kB / 0.621 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.5226, allocations: 39.97 kB / 0.6211 GB, free: 2.492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.5231, allocations: 347 kB / 0.6214 GB, free: 2.152 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5231, allocations: 0 / 0.6214 GB, free: 2.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001218/0.5243, allocations: 359.9 kB / 0.6218 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.009466/0.5338, allocations: 4.532 MB / 0.6262 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007487/0.5413, allocations: 2.81 MB / 0.6289 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.5413, allocations: 4 kB / 0.6289 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006307/0.5476, allocations: 1.86 MB / 0.6307 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5489, allocations: 176.1 kB / 0.6309 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/0.5869, allocations: 15.66 MB / 0.6462 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.5879, allocations: 1.144 MB / 0.6473 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001058/0.589, allocations: 322.7 kB / 0.6476 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/0.5898, allocations: 347.3 kB / 0.648 GB, free: 6.586 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5898, allocations: 0 / 0.648 GB, free: 6.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07924/0.669, allocations: 34.14 MB / 0.6813 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.17, allocations: 0 / 0.6813 GB, free: 4.637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 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.71544652315788] Failed to read output from testmodel.py, exit status != 0: 15.306803012033924 15.324619644 14.949153794 Calling exit ...