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.001576/0.001576, allocations: 113.2 kB / 20.43 MB, free: 1.309 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.002017/0.002017, allocations: 213.9 kB / 23.74 MB, free: 4.535 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.2023/0.2023, 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.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.002106/0.002106, allocations: 71.02 kB / 492.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3506, allocations: 62.46 MB / 0.542 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.009888/0.3605, allocations: 6.167 MB / 0.548 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3638, allocations: 1.592 MB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.3642, allocations: 35.22 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.3647, allocations: 140.4 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008902/0.3656, allocations: 373.7 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.3663, allocations: 310.9 kB / 0.5504 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3678, allocations: 1.351 MB / 0.5517 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.3682, allocations: 231.3 kB / 0.5519 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009501/0.3692, allocations: 0.5701 MB / 0.5525 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.3701, allocations: 0.5756 MB / 0.5531 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.3703, allocations: 90.91 kB / 0.5531 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3704, allocations: 91.31 kB / 0.5532 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.3708, allocations: 356.1 kB / 0.5536 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.3713, allocations: 406.4 kB / 0.554 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.3726, allocations: 1.064 MB / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3726, allocations: 1.156 kB / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3726, allocations: 0 / 0.555 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.3726, allocations: 3.938 kB / 0.555 GB, free: 6.922 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.00278/0.3754, allocations: 1.142 MB / 0.5561 GB, free: 6.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3754, allocations: 14.3 kB / 0.5561 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.3756, allocations: 107.4 kB / 0.5562 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.3758, allocations: 92.45 kB / 0.5563 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.3772, allocations: 0.5859 MB / 0.5569 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006951/0.3778, allocations: 0.7445 MB / 0.5576 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.378, allocations: 56 kB / 0.5577 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3802, allocations: 1.046 MB / 0.5587 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3802, allocations: 0 / 0.5587 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.3803, allocations: 32 kB / 0.5587 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.3803, allocations: 12 kB / 0.5587 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.3829, allocations: 1.089 MB / 0.5598 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.3882, allocations: 3.166 MB / 0.5629 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.3903, allocations: 0.7177 MB / 0.5636 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3919, allocations: 0.5065 MB / 0.5641 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.3919, allocations: 12.42 kB / 0.5641 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.3935, allocations: 0.6264 MB / 0.5647 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/0.3935, allocations: 4 kB / 0.5647 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003891/0.3974, allocations: 1.364 MB / 0.566 GB, free: 11.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.3975, allocations: 144.5 kB / 0.5662 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.3982, allocations: 385.9 kB / 0.5666 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.3984, allocations: 41.7 kB / 0.5666 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.3987, allocations: 300.9 kB / 0.5669 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.399, allocations: 170.6 kB / 0.567 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.3992, allocations: 122.2 kB / 0.5672 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004102/0.3997, allocations: 358.8 kB / 0.5675 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4007, allocations: 457 kB / 0.5679 GB, free: 9.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.4019, allocations: 0.5603 MB / 0.5685 GB, free: 8.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.404, allocations: 0.8847 MB / 0.5694 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.404, allocations: 0 / 0.5694 GB, free: 8.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002551/0.4065, allocations: 1.092 MB / 0.5704 GB, free: 6.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.4066, allocations: 57.94 kB / 0.5705 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4066, allocations: 4 kB / 0.5705 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.4066, allocations: 4 kB / 0.5705 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/0.412, allocations: 1.104 MB / 0.5716 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008488/0.4205, allocations: 4.49 MB / 0.5759 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/0.4214, allocations: 107.5 kB / 0.576 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.4215, allocations: 40.05 kB / 0.5761 GB, free: 0.8984 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.0005412/0.4221, allocations: 255.3 kB / 0.5763 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.4223, allocations: 51.66 kB / 0.5764 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.4252, allocations: 0.9927 MB / 0.5773 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4252, allocations: 7.984 kB / 0.5774 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4252, allocations: 3.938 kB / 0.5774 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.4252, allocations: 8 kB / 0.5774 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.4299, allocations: 2.092 MB / 0.5794 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4299, allocations: 8.188 kB / 0.5794 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006633/0.4366, allocations: 1.276 MB / 0.5807 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.4366, allocations: 8 kB / 0.5807 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.4367, allocations: 15.98 kB / 0.5807 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.4367, allocations: 4 kB / 0.5807 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4367, allocations: 7.938 kB / 0.5807 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.4412, allocations: 1.697 MB / 0.5824 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.4417, allocations: 127.5 kB / 0.5825 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.4419, allocations: 31.98 kB / 0.5825 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/0.4427, allocations: 87.88 kB / 0.5826 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.4429, allocations: 99.7 kB / 0.5827 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.443, allocations: 27.92 kB / 0.5827 GB, free: 9.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004545/0.4435, allocations: 263.2 kB / 0.583 GB, free: 9.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4435, allocations: 4 kB / 0.583 GB, free: 9.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.4443, allocations: 183.7 kB / 0.5831 GB, free: 9.535 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.004676/0.449, allocations: 2.264 MB / 0.5854 GB, free: 7.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.4563, allocations: 2.019 MB / 0.5873 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.4563, allocations: 4.312 kB / 0.5873 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.4601, allocations: 0.9403 MB / 0.5882 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.4612, allocations: 143.4 kB / 0.5884 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.4754, allocations: 6.585 MB / 0.5948 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.4762, allocations: 0.9329 MB / 0.5957 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.4767, allocations: 156.6 kB / 0.5959 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.4772, allocations: 195.4 kB / 0.5961 GB, free: 12.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4772, allocations: 0 / 0.5961 GB, free: 12.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/0.5317, allocations: 14.23 MB / 0.61 GB, free: 13.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.42, allocations: 14.72 kB / 0.61 GB, free: 13.95 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.378002939978614] Failed to read output from testmodel.py, exit status != 0: 14.546386623056605 14.570062264 14.194169613 Calling exit ...