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.001899/0.001899, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.002422/0.002422, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.1913/0.1913, allocations: 38.55 MB / 353.2 MB, free: 12.3 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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [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.002202/0.002202, allocations: 67.91 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2992, allocations: 62.46 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009612/0.3088, allocations: 6.274 MB / 0.5493 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.3123, allocations: 1.671 MB / 0.5509 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.3129, allocations: 31.94 kB / 0.5509 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.3138, allocations: 213.8 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.315, allocations: 384.4 kB / 0.5515 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.3156, allocations: 231.5 kB / 0.5517 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.3172, allocations: 1.075 MB / 0.5528 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.3178, allocations: 303.1 kB / 0.5531 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.3188, allocations: 491.3 kB / 0.5535 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3199, allocations: 471.2 kB / 0.554 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.3202, allocations: 88.53 kB / 0.5541 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.3206, allocations: 85.47 kB / 0.5542 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.321, allocations: 281 kB / 0.5544 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.3218, allocations: 338.4 kB / 0.5548 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.3233, allocations: 1.046 MB / 0.5558 GB, free: 7.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3233, allocations: 0 / 0.5558 GB, free: 7.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3233, allocations: 0 / 0.5558 GB, free: 7.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.3233, allocations: 0 / 0.5558 GB, free: 7.105 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.002535/0.3259, allocations: 0.9646 MB / 0.5567 GB, free: 6.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3259, allocations: 15.98 kB / 0.5567 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.3261, allocations: 80.41 kB / 0.5568 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.3275, allocations: 0.5835 MB / 0.5574 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.3277, allocations: 194.4 kB / 0.5576 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.3278, allocations: 59.94 kB / 0.5576 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3292, allocations: 0.7538 MB / 0.5584 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3293, allocations: 0 / 0.5584 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.3293, allocations: 20 kB / 0.5584 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.3293, allocations: 19.98 kB / 0.5584 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3306, allocations: 0.605 MB / 0.559 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.3342, allocations: 2.136 MB / 0.5611 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.3352, allocations: 396.9 kB / 0.5614 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.3356, allocations: 191.1 kB / 0.5616 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.3357, allocations: 4.281 kB / 0.5616 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.3362, allocations: 239.3 kB / 0.5619 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/0.3362, allocations: 4 kB / 0.5619 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00319/0.3394, allocations: 0.7916 MB / 0.5626 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3395, allocations: 144.5 kB / 0.5628 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.3399, allocations: 349.5 kB / 0.5631 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.34, allocations: 41.73 kB / 0.5632 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.3403, allocations: 328.5 kB / 0.5635 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.3404, allocations: 127 kB / 0.5636 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3405, allocations: 78.12 kB / 0.5637 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3407, allocations: 346.8 kB / 0.564 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.341, allocations: 132.8 kB / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3414, allocations: 249.9 kB / 0.5644 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.343, allocations: 0.6564 MB / 0.565 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.343, allocations: 8 kB / 0.565 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001136/0.3442, allocations: 0.5099 MB / 0.5655 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3442, allocations: 8 kB / 0.5655 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3442, allocations: 4 kB / 0.5655 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.3446, allocations: 152.9 kB / 0.5657 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.3449, allocations: 75.91 kB / 0.5657 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.3486, allocations: 2.133 MB / 0.5678 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.349, allocations: 43.77 kB / 0.5679 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.349, allocations: 16 kB / 0.5679 GB, free: 10.3 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.0004676/0.3495, allocations: 247.8 kB / 0.5681 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.3496, allocations: 43.72 kB / 0.5682 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3509, allocations: 479.4 kB / 0.5686 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3509, allocations: 4 kB / 0.5686 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3509, allocations: 4 kB / 0.5686 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3509, allocations: 3.938 kB / 0.5686 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.3518, allocations: 0.5222 MB / 0.5691 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3518, allocations: 0 / 0.5691 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.352, allocations: 51.91 kB / 0.5692 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.3525, allocations: 140.8 kB / 0.5693 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.3525, allocations: 12 kB / 0.5693 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.356, allocations: 2.106 MB / 0.5714 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.356, allocations: 3.938 kB / 0.5714 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3576, allocations: 0.6982 MB / 0.5721 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3578, allocations: 75.67 kB / 0.5721 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.3579, allocations: 8 kB / 0.5721 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3581, allocations: 15.98 kB / 0.5722 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3583, allocations: 39.92 kB / 0.5722 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3583, allocations: 8 kB / 0.5722 GB, free: 5.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.3586, allocations: 243.1 kB / 0.5724 GB, free: 5.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3586, allocations: 0 / 0.5724 GB, free: 5.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006927/0.3593, allocations: 167.6 kB / 0.5726 GB, free: 5.262 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.0001568/0.3594, allocations: 118.1 kB / 0.5727 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3605, allocations: 495 kB / 0.5732 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3605, allocations: 4.062 kB / 0.5732 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006025/0.3611, allocations: 322.6 kB / 0.5735 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.3618, allocations: 123.2 kB / 0.5736 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3643, allocations: 1.306 MB / 0.5749 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3647, allocations: 331 kB / 0.5752 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.3648, allocations: 35.44 kB / 0.5752 GB, free: 2.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3648, allocations: 4 kB / 0.5752 GB, free: 2.457 MB / 414.1 MB Notification: Performance of Templates: time 0.0163/0.3811, allocations: 10.06 MB / 0.5851 GB, free: 8.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.793526898138225]