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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002298/0.002298, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.454/1.454, 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.184/0.184, allocations: 38.55 MB / 352.5 MB, free: 12.4 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.002951/0.002951, allocations: 75.88 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3396, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008126/0.3478, allocations: 5.745 MB / 0.5476 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.351, allocations: 1.504 MB / 0.549 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.3514, allocations: 34.34 kB / 0.5491 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.3519, allocations: 137.4 kB / 0.5492 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.3529, allocations: 373.9 kB / 0.5495 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.3536, allocations: 319.6 kB / 0.5498 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.3551, allocations: 1.337 MB / 0.5512 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.3555, allocations: 228.8 kB / 0.5514 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3567, allocations: 0.5703 MB / 0.5519 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.3576, allocations: 0.5478 MB / 0.5525 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3577, allocations: 91.38 kB / 0.5526 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.3579, allocations: 90.16 kB / 0.5526 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.3583, allocations: 356.5 kB / 0.553 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.3587, allocations: 350.5 kB / 0.5533 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.3598, allocations: 1.063 MB / 0.5544 GB, free: 7.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3598, allocations: 7.875 kB / 0.5544 GB, free: 7.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3598, allocations: 0 / 0.5544 GB, free: 7.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3599, allocations: 1.125 kB / 0.5544 GB, free: 7.23 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.002712/0.3626, allocations: 1.142 MB / 0.5555 GB, free: 6.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3626, allocations: 15.98 kB / 0.5555 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.3628, allocations: 110.6 kB / 0.5556 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3629, allocations: 84.47 kB / 0.5557 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.3644, allocations: 0.5898 MB / 0.5563 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006914/0.3651, allocations: 0.7445 MB / 0.557 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.3652, allocations: 60 kB / 0.557 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.3676, allocations: 1.042 MB / 0.5581 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3676, allocations: 3.938 kB / 0.5581 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.3676, allocations: 24 kB / 0.5581 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3677, allocations: 12 kB / 0.5581 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.3706, allocations: 1.093 MB / 0.5592 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.3762, allocations: 2.982 MB / 0.5621 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.3785, allocations: 0.7221 MB / 0.5628 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.38, allocations: 0.5064 MB / 0.5633 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.3801, allocations: 8.438 kB / 0.5633 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.3817, allocations: 0.6264 MB / 0.5639 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.965e-06/0.3817, allocations: 0 / 0.5639 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004153/0.3858, allocations: 1.371 MB / 0.5652 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3859, allocations: 136.5 kB / 0.5654 GB, free: 11.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.3864, allocations: 401.8 kB / 0.5657 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.3865, allocations: 37.7 kB / 0.5658 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.3868, allocations: 304.9 kB / 0.5661 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.387, allocations: 170.6 kB / 0.5662 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.3872, allocations: 122.3 kB / 0.5664 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3874, allocations: 358.8 kB / 0.5667 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3886, allocations: 486.7 kB / 0.5672 GB, free: 9.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.3898, allocations: 0.5854 MB / 0.5677 GB, free: 9.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.3919, allocations: 0.8808 MB / 0.5686 GB, free: 8.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3919, allocations: 4 kB / 0.5686 GB, free: 8.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002568/0.3944, allocations: 1.117 MB / 0.5697 GB, free: 7.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.3945, allocations: 53.62 kB / 0.5697 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3945, allocations: 4 kB / 0.5697 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3945, allocations: 4 kB / 0.5697 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/0.4005, allocations: 1.112 MB / 0.5708 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00856/0.4091, allocations: 4.471 MB / 0.5752 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.4099, allocations: 107.7 kB / 0.5753 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.41, allocations: 35.97 kB / 0.5753 GB, free: 1.215 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.0004483/0.4105, allocations: 255.3 kB / 0.5756 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.4106, allocations: 59.59 kB / 0.5756 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.4135, allocations: 0.9771 MB / 0.5766 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4135, allocations: 8 kB / 0.5766 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4135, allocations: 4 kB / 0.5766 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4135, allocations: 3.984 kB / 0.5766 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.418, allocations: 2.007 MB / 0.5786 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.418, allocations: 4 kB / 0.5786 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007253/0.4253, allocations: 1.287 MB / 0.5798 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.4253, allocations: 4 kB / 0.5798 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.4254, allocations: 11.98 kB / 0.5798 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.4254, allocations: 4 kB / 0.5798 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4254, allocations: 11.94 kB / 0.5799 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.4298, allocations: 1.705 MB / 0.5815 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.4303, allocations: 123.6 kB / 0.5816 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4304, allocations: 27.98 kB / 0.5817 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.4311, allocations: 91.88 kB / 0.5817 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.4314, allocations: 103.7 kB / 0.5818 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.4314, allocations: 19.98 kB / 0.5819 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.4318, allocations: 271.1 kB / 0.5821 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4318, allocations: 0 / 0.5821 GB, free: 10.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.4325, allocations: 179.7 kB / 0.5823 GB, free: 9.941 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.004737/0.4372, allocations: 2.266 MB / 0.5845 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008097/0.4453, allocations: 2.052 MB / 0.5865 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.4453, allocations: 0 / 0.5865 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/0.4492, allocations: 0.9445 MB / 0.5874 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.4501, allocations: 144.8 kB / 0.5876 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4629, allocations: 6.725 MB / 0.5941 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4633, allocations: 325.1 kB / 0.5945 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005594/0.4639, allocations: 156.6 kB / 0.5946 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.4643, allocations: 195.4 kB / 0.5948 GB, free: 12.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4643, allocations: 0 / 0.5948 GB, free: 12.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04914/0.5134, allocations: 14.97 MB / 0.6094 GB, free: 14.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.56, allocations: 4.062 kB / 0.6094 GB, free: 14.07 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.309411038644612] Failed to read output from testmodel.py, exit status != 0: 13.687144722789526 13.708929831 13.344759025 Calling exit ...