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.001306/0.001306, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001464/0.001464, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1891/0.1891, allocations: 38.56 MB / 352.5 MB, free: 12.28 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.002113/0.002113, allocations: 69.77 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3819, allocations: 62.47 MB / 0.5419 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009005/0.3909, allocations: 6.286 MB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.394, allocations: 1.661 MB / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.3944, allocations: 35.75 kB / 0.5497 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.3951, allocations: 205.3 kB / 0.5499 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.396, allocations: 392.9 kB / 0.5503 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.3965, allocations: 230.8 kB / 0.5505 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.3977, allocations: 1.068 MB / 0.5516 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.3982, allocations: 302.8 kB / 0.5519 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007921/0.399, allocations: 491.3 kB / 0.5523 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.3997, allocations: 482.5 kB / 0.5528 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3998, allocations: 84.97 kB / 0.5529 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.4, allocations: 85.66 kB / 0.5529 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.4003, allocations: 280.5 kB / 0.5532 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.4007, allocations: 334.7 kB / 0.5535 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.4018, allocations: 1.053 MB / 0.5546 GB, free: 6.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4018, allocations: 0 / 0.5546 GB, free: 6.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4018, allocations: 1.125 kB / 0.5546 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4019, allocations: 0 / 0.5546 GB, free: 6.891 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.002268/0.4041, allocations: 0.9595 MB / 0.5555 GB, free: 6.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4042, allocations: 14.14 kB / 0.5555 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.4043, allocations: 104.9 kB / 0.5556 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4045, allocations: 77.12 kB / 0.5557 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.4059, allocations: 0.5908 MB / 0.5563 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.4061, allocations: 194.1 kB / 0.5564 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4062, allocations: 60 kB / 0.5565 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4076, allocations: 0.7421 MB / 0.5572 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.4076, allocations: 7.938 kB / 0.5572 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.4077, allocations: 27.98 kB / 0.5573 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.4077, allocations: 16 kB / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.409, allocations: 0.5972 MB / 0.5579 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.4128, allocations: 2.237 MB / 0.56 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.4138, allocations: 402.6 kB / 0.5604 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.4142, allocations: 183.1 kB / 0.5606 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.4143, allocations: 8.281 kB / 0.5606 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.4148, allocations: 247.3 kB / 0.5608 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.033e-06/0.4148, allocations: 0 / 0.5608 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003206/0.418, allocations: 0.7955 MB / 0.5616 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4181, allocations: 140.5 kB / 0.5618 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.4186, allocations: 409.8 kB / 0.5621 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.4186, allocations: 29.7 kB / 0.5622 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.4189, allocations: 328.7 kB / 0.5625 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.4191, allocations: 131 kB / 0.5626 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4192, allocations: 78.17 kB / 0.5627 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4194, allocations: 358.8 kB / 0.563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.4197, allocations: 128.8 kB / 0.5632 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.4202, allocations: 242 kB / 0.5634 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4218, allocations: 0.6642 MB / 0.564 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4218, allocations: 4 kB / 0.564 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001149/0.4229, allocations: 0.5178 MB / 0.5645 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.423, allocations: 15.97 kB / 0.5646 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.423, allocations: 0 / 0.5646 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.4234, allocations: 152.7 kB / 0.5647 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.4237, allocations: 79.83 kB / 0.5648 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.4275, allocations: 2.133 MB / 0.5669 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.4279, allocations: 59.61 kB / 0.5669 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.4279, allocations: 16 kB / 0.5669 GB, free: 10.01 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.0003897/0.4283, allocations: 245.7 kB / 0.5672 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.4284, allocations: 55.64 kB / 0.5672 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4297, allocations: 479.7 kB / 0.5677 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4297, allocations: 12 kB / 0.5677 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4297, allocations: 0 / 0.5677 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4297, allocations: 0 / 0.5677 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.4306, allocations: 0.6113 MB / 0.5683 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4306, allocations: 0 / 0.5683 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.4308, allocations: 47.91 kB / 0.5683 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.4313, allocations: 140.8 kB / 0.5685 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.4313, allocations: 8 kB / 0.5685 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.4348, allocations: 2.133 MB / 0.5706 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.4348, allocations: 4.031 kB / 0.5706 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4365, allocations: 0.683 MB / 0.5712 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.4367, allocations: 79.56 kB / 0.5713 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.4368, allocations: 11.98 kB / 0.5713 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.437, allocations: 23.92 kB / 0.5713 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4372, allocations: 35.94 kB / 0.5714 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.4372, allocations: 11.98 kB / 0.5714 GB, free: 5.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.4376, allocations: 283.1 kB / 0.5717 GB, free: 4.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4376, allocations: 192 / 0.5717 GB, free: 4.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006477/0.4382, allocations: 163.6 kB / 0.5718 GB, free: 4.793 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.002053/0.4403, allocations: 1.24 MB / 0.573 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4414, allocations: 499.1 kB / 0.5735 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4414, allocations: 4 kB / 0.5735 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.442, allocations: 326.5 kB / 0.5738 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.4427, allocations: 154.7 kB / 0.574 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.4506, allocations: 4.575 MB / 0.5784 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4511, allocations: 331.1 kB / 0.5787 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.4514, allocations: 84.64 kB / 0.5788 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.4517, allocations: 199.4 kB / 0.579 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4517, allocations: 0 / 0.579 GB, free: 13.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/0.5069, allocations: 14.1 MB / 0.5928 GB, free: 15.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.49, allocations: 7.938 kB / 0.5928 GB, free: 15.29 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.419799803756177] Failed to read output from testmodel.py, exit status != 0: 13.621867144946009 13.652293445 13.244943697 Calling exit ...