Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001322/0.001322, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001457/0.001457, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.448/1.448, allocations: 230.6 MB / 258.3 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.1869/0.1869, allocations: 38.57 MB / 353.3 MB, free: 12.42 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.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="cs",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.002895/0.002895, allocations: 67.89 kB / 493.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3592, allocations: 62.47 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008432/0.3677, allocations: 5.73 MB / 0.5483 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3708, allocations: 1.504 MB / 0.5498 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.3712, allocations: 31.12 kB / 0.5498 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.3718, allocations: 141.1 kB / 0.5499 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009397/0.3727, allocations: 369.1 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.3734, allocations: 316.1 kB / 0.5506 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.375, allocations: 1.346 MB / 0.5519 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.3754, allocations: 231.7 kB / 0.5521 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/0.3763, allocations: 0.5697 MB / 0.5527 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009512/0.3773, allocations: 0.5842 MB / 0.5533 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3774, allocations: 91.28 kB / 0.5533 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3776, allocations: 90.72 kB / 0.5534 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.378, allocations: 355.4 kB / 0.5538 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.3785, allocations: 342.8 kB / 0.5541 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.3798, allocations: 1.068 MB / 0.5551 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3798, allocations: 0 / 0.5551 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3798, allocations: 0 / 0.5551 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3798, allocations: 0 / 0.5551 GB, free: 7.203 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002769/0.3826, allocations: 1.147 MB / 0.5563 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3826, allocations: 15.98 kB / 0.5563 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/0.3826, allocations: 13.5 kB / 0.5563 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.3828, allocations: 106.7 kB / 0.5564 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.383, allocations: 92.47 kB / 0.5565 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3844, allocations: 0.5974 MB / 0.5571 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007106/0.3851, allocations: 0.7482 MB / 0.5578 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.3852, allocations: 60 kB / 0.5578 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.3876, allocations: 1.039 MB / 0.5589 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3876, allocations: 0 / 0.5589 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.3877, allocations: 20 kB / 0.5589 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.3877, allocations: 19.98 kB / 0.5589 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.3907, allocations: 1.093 MB / 0.56 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.3961, allocations: 2.99 MB / 0.5629 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.3984, allocations: 0.72 MB / 0.5636 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3998, allocations: 0.5102 MB / 0.5641 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.3998, allocations: 12.44 kB / 0.5641 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.4014, allocations: 0.6148 MB / 0.5647 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.4014, allocations: 0 / 0.5647 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003969/0.4054, allocations: 1.367 MB / 0.566 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.4055, allocations: 140.5 kB / 0.5662 GB, free: 11.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.406, allocations: 389.9 kB / 0.5665 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.4061, allocations: 41.7 kB / 0.5666 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.4064, allocations: 304.9 kB / 0.5669 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.4066, allocations: 178.5 kB / 0.567 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.4068, allocations: 118.3 kB / 0.5672 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.407, allocations: 358.8 kB / 0.5675 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.4081, allocations: 490.7 kB / 0.568 GB, free: 9.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.4093, allocations: 0.5738 MB / 0.5685 GB, free: 9.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.4113, allocations: 0.8886 MB / 0.5694 GB, free: 8.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4113, allocations: 0 / 0.5694 GB, free: 8.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002499/0.4138, allocations: 1.113 MB / 0.5705 GB, free: 7.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.4139, allocations: 53.69 kB / 0.5705 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4139, allocations: 0 / 0.5705 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.4139, allocations: 8 kB / 0.5705 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/0.4197, allocations: 1.112 MB / 0.5716 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.4282, allocations: 4.471 MB / 0.576 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.4291, allocations: 111.6 kB / 0.5761 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.4292, allocations: 39.97 kB / 0.5761 GB, free: 1.18 MB / 414.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004579/0.4297, allocations: 247.3 kB / 0.5764 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4298, allocations: 55.64 kB / 0.5764 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.4326, allocations: 0.9887 MB / 0.5774 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.4326, allocations: 8 kB / 0.5774 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4326, allocations: 0 / 0.5774 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4326, allocations: 3.984 kB / 0.5774 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/0.437, allocations: 2.007 MB / 0.5794 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.437, allocations: 7.938 kB / 0.5794 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007219/0.4442, allocations: 1.284 MB / 0.5806 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.4442, allocations: 4 kB / 0.5806 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.4443, allocations: 15.98 kB / 0.5806 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4443, allocations: 4 kB / 0.5806 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4443, allocations: 11.88 kB / 0.5807 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.4487, allocations: 1.697 MB / 0.5823 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.4491, allocations: 123.6 kB / 0.5824 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.4492, allocations: 27.98 kB / 0.5825 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/0.45, allocations: 95.81 kB / 0.5825 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.4502, allocations: 99.77 kB / 0.5826 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.4503, allocations: 15.98 kB / 0.5827 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.4506, allocations: 271.1 kB / 0.5829 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4506, allocations: 0 / 0.5829 GB, free: 10.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000714/0.4513, allocations: 183.7 kB / 0.5831 GB, free: 9.918 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.00474/0.4561, allocations: 2.272 MB / 0.5853 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007802/0.4639, allocations: 2.044 MB / 0.5873 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4639, allocations: 0 / 0.5873 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0039/0.4678, allocations: 0.9523 MB / 0.5882 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.469, allocations: 147.5 kB / 0.5884 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.4833, allocations: 6.717 MB / 0.5949 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4837, allocations: 329 kB / 0.5953 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005917/0.4843, allocations: 160.6 kB / 0.5954 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.4848, allocations: 195.4 kB / 0.5956 GB, free: 12.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4848, allocations: 4 kB / 0.5956 GB, free: 12.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.5299, allocations: 14.75 MB / 0.61 GB, free: 14.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.8, allocations: 12.05 kB / 0.61 GB, free: 14.27 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.68363309802953] Failed to read output from testmodel.py, exit status != 0: 14.993858477915637 15.020407283 14.634900062 Calling exit ...