Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001415/0.001415, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.001639/0.001639, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1954/0.1954, allocations: 38.52 MB / 352.5 MB, free: 12.64 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.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.002273/0.002273, allocations: 67.91 kB / 492.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3716, allocations: 62.46 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009216/0.3809, allocations: 6.793 MB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.3848, allocations: 1.8 MB / 0.5504 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/0.3856, allocations: 31.16 kB / 0.5504 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.3867, allocations: 222.6 kB / 0.5506 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.3881, allocations: 392.5 kB / 0.551 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.3888, allocations: 226 kB / 0.5512 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3904, allocations: 1.071 MB / 0.5523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.391, allocations: 311.7 kB / 0.5526 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3921, allocations: 498.8 kB / 0.553 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.3933, allocations: 498.7 kB / 0.5535 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.3935, allocations: 85.66 kB / 0.5536 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.3939, allocations: 85.66 kB / 0.5537 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.3943, allocations: 283.9 kB / 0.5539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008251/0.3951, allocations: 402.3 kB / 0.5543 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.3974, allocations: 1.042 MB / 0.5553 GB, free: 6.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3974, allocations: 0 / 0.5553 GB, free: 6.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3974, allocations: 5.062 kB / 0.5554 GB, free: 6.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.608e-05/0.3975, allocations: 0 / 0.5554 GB, free: 6.316 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004532/0.4021, allocations: 0.9706 MB / 0.5563 GB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.4021, allocations: 13.98 kB / 0.5563 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.4023, allocations: 104 kB / 0.5564 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.4026, allocations: 78.97 kB / 0.5565 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.4046, allocations: 0.5812 MB / 0.5571 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.4049, allocations: 191.1 kB / 0.5572 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.405, allocations: 63.94 kB / 0.5573 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.4073, allocations: 0.7538 MB / 0.558 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4073, allocations: 4 kB / 0.558 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.4074, allocations: 20 kB / 0.5581 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.4074, allocations: 16 kB / 0.5581 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.4088, allocations: 0.605 MB / 0.5587 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.4128, allocations: 2.405 MB / 0.561 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.4138, allocations: 393 kB / 0.5614 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.4143, allocations: 191.2 kB / 0.5616 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.4144, allocations: 4.266 kB / 0.5616 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.4149, allocations: 247.3 kB / 0.5618 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.4149, allocations: 0 / 0.5618 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003308/0.4182, allocations: 0.7994 MB / 0.5626 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.4183, allocations: 132.5 kB / 0.5627 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.4188, allocations: 405.9 kB / 0.5631 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.4189, allocations: 37.69 kB / 0.5631 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.4192, allocations: 324.8 kB / 0.5635 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.4193, allocations: 122.9 kB / 0.5636 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4195, allocations: 86.08 kB / 0.5636 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4197, allocations: 354.8 kB / 0.564 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.42, allocations: 132.8 kB / 0.5641 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.4204, allocations: 246 kB / 0.5643 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.422, allocations: 0.6564 MB / 0.565 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.422, allocations: 4 kB / 0.565 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001253/0.4233, allocations: 0.5217 MB / 0.5655 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4233, allocations: 8 kB / 0.5655 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4233, allocations: 8.031 kB / 0.5655 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.4238, allocations: 148.7 kB / 0.5657 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.4241, allocations: 75.89 kB / 0.5657 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.4278, allocations: 2.17 MB / 0.5679 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4282, allocations: 55.72 kB / 0.5679 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.4282, allocations: 20 kB / 0.5679 GB, free: 9.355 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.4286, allocations: 241.7 kB / 0.5682 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.4287, allocations: 51.59 kB / 0.5682 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.43, allocations: 482.5 kB / 0.5687 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.43, allocations: 4 kB / 0.5687 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.43, allocations: 4 kB / 0.5687 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.43, allocations: 4 kB / 0.5687 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.4309, allocations: 0.6503 MB / 0.5693 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.431, allocations: 0 / 0.5693 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4312, allocations: 51.91 kB / 0.5694 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.4316, allocations: 148.7 kB / 0.5695 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.4317, allocations: 8.094 kB / 0.5695 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.4352, allocations: 2.148 MB / 0.5716 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4352, allocations: 4.031 kB / 0.5716 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.437, allocations: 0.696 MB / 0.5723 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.4373, allocations: 79.59 kB / 0.5724 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.4373, allocations: 8 kB / 0.5724 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.4376, allocations: 19.92 kB / 0.5724 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4377, allocations: 35.94 kB / 0.5724 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.4377, allocations: 11.98 kB / 0.5724 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004495/0.4382, allocations: 279.2 kB / 0.5727 GB, free: 4.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4382, allocations: 4 kB / 0.5727 GB, free: 4.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007203/0.4389, allocations: 167.6 kB / 0.5729 GB, free: 4.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002164/0.4411, allocations: 1.232 MB / 0.5741 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4422, allocations: 0.4947 MB / 0.5746 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4422, allocations: 0 / 0.5746 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.4429, allocations: 318.3 kB / 0.5749 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.4437, allocations: 161 kB / 0.575 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/0.4515, allocations: 4.587 MB / 0.5795 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.4524, allocations: 0.9211 MB / 0.5804 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003561/0.4528, allocations: 92.62 kB / 0.5805 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.4531, allocations: 195.4 kB / 0.5807 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4531, allocations: 0 / 0.5807 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06676/0.5198, allocations: 13.7 MB / 0.594 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14, allocations: 6.344 kB / 0.594 GB, free: 14.28 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.930258329957724] Failed to read output from testmodel.py, exit status != 0: 14.128046569880098 14.154030567 13.751521905 Calling exit ...