Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001425/0.001425, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001478/0.001478, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1926/0.1926, allocations: 38.52 MB / 353.2 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.001985/0.001985, allocations: 67.89 kB / 493.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 62.47 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009183/0.3707, allocations: 6.78 MB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.3743, allocations: 1.789 MB / 0.5511 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.3748, allocations: 32.31 kB / 0.5512 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.3756, allocations: 225.5 kB / 0.5514 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3766, allocations: 392 kB / 0.5518 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.3772, allocations: 225.7 kB / 0.552 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3786, allocations: 1.075 MB / 0.553 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.3791, allocations: 312.9 kB / 0.5533 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.3802, allocations: 491 kB / 0.5538 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009493/0.3812, allocations: 0.4977 MB / 0.5543 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3813, allocations: 85.28 kB / 0.5544 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.3816, allocations: 86.03 kB / 0.5544 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.3819, allocations: 288.4 kB / 0.5547 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.3825, allocations: 398.5 kB / 0.5551 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3841, allocations: 1.046 MB / 0.5561 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3841, allocations: 0 / 0.5561 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3841, allocations: 1.094 kB / 0.5561 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.884e-05/0.3841, allocations: 0 / 0.5561 GB, free: 6.289 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.002896/0.387, allocations: 0.9773 MB / 0.5571 GB, free: 5.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3871, allocations: 12.97 kB / 0.5571 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.911e-05/0.3871, allocations: 16.28 kB / 0.5571 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.3873, allocations: 112.1 kB / 0.5572 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.3874, allocations: 78.31 kB / 0.5573 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3889, allocations: 0.5808 MB / 0.5578 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.3892, allocations: 197.9 kB / 0.558 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3893, allocations: 56 kB / 0.5581 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3908, allocations: 0.746 MB / 0.5588 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3908, allocations: 3.984 kB / 0.5588 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.3909, allocations: 35.94 kB / 0.5589 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3909, allocations: 12 kB / 0.5589 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3922, allocations: 0.5972 MB / 0.5595 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.3964, allocations: 2.401 MB / 0.5618 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3974, allocations: 399.8 kB / 0.5622 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.3979, allocations: 191.2 kB / 0.5624 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.398, allocations: 8.266 kB / 0.5624 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/0.3985, allocations: 247.3 kB / 0.5626 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.3985, allocations: 0 / 0.5626 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003436/0.4019, allocations: 0.7955 MB / 0.5634 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.402, allocations: 140.5 kB / 0.5635 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.4026, allocations: 405.8 kB / 0.5639 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.4026, allocations: 29.7 kB / 0.5639 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.4029, allocations: 328.8 kB / 0.5642 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.403, allocations: 126.9 kB / 0.5644 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.4032, allocations: 78.09 kB / 0.5644 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4034, allocations: 358.8 kB / 0.5648 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.4037, allocations: 128.8 kB / 0.5649 GB, free: 13.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.4041, allocations: 246 kB / 0.5651 GB, free: 13.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.4058, allocations: 0.6564 MB / 0.5658 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.4058, allocations: 0 / 0.5658 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001198/0.407, allocations: 0.5213 MB / 0.5663 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.407, allocations: 8.469 kB / 0.5663 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.407, allocations: 8 kB / 0.5663 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.4075, allocations: 148.7 kB / 0.5664 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.4078, allocations: 75.91 kB / 0.5665 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.4117, allocations: 2.17 MB / 0.5686 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.4122, allocations: 51.72 kB / 0.5687 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.4122, allocations: 20 kB / 0.5687 GB, free: 9.312 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.0004254/0.4127, allocations: 248.4 kB / 0.5689 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.4127, allocations: 51.66 kB / 0.569 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.4142, allocations: 479.7 kB / 0.5695 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4142, allocations: 4 kB / 0.5695 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4142, allocations: 4 kB / 0.5695 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4142, allocations: 11.97 kB / 0.5695 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.4151, allocations: 0.6502 MB / 0.5701 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4151, allocations: 4 kB / 0.5701 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.4154, allocations: 39.97 kB / 0.5701 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.4158, allocations: 152.8 kB / 0.5703 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4159, allocations: 8 kB / 0.5703 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.4195, allocations: 2.144 MB / 0.5724 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4195, allocations: 0 / 0.5724 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.4213, allocations: 0.6947 MB / 0.5731 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.4216, allocations: 71.61 kB / 0.5731 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.4217, allocations: 15.94 kB / 0.5732 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.4219, allocations: 15.98 kB / 0.5732 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4221, allocations: 39.92 kB / 0.5732 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4221, allocations: 12 kB / 0.5732 GB, free: 4.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.4225, allocations: 279.1 kB / 0.5735 GB, free: 4.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4225, allocations: 0 / 0.5735 GB, free: 4.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006854/0.4231, allocations: 171.6 kB / 0.5737 GB, free: 4.035 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.002155/0.4253, allocations: 1.244 MB / 0.5749 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4265, allocations: 498.9 kB / 0.5753 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4265, allocations: 0 / 0.5753 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.4271, allocations: 322.4 kB / 0.5756 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.4279, allocations: 170.2 kB / 0.5758 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/0.4361, allocations: 4.58 MB / 0.5803 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.4368, allocations: 0.925 MB / 0.5812 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.4371, allocations: 84.64 kB / 0.5813 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.4374, allocations: 199.4 kB / 0.5815 GB, free: 11.74 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4374, allocations: 0 / 0.5815 GB, free: 11.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.4843, allocations: 13.73 MB / 0.5949 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.1, allocations: 11.31 kB / 0.5949 GB, free: 14.22 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.095673656032886] Failed to read output from testmodel.py, exit status != 0: 14.2845674760174 14.309594653 13.92194755 Calling exit ...