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.0009952/0.0009952, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001051/0.001051, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9497/0.9497, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2377/0.2377, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.93e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008987/0.009006, allocations: 5.625 MB / 375.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.01449, allocations: 1.609 MB / 376.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.01486, allocations: 31.75 kB / 376.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.0154, allocations: 170.7 kB / 377.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.0161, allocations: 393.5 kB / 377.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.01955, allocations: 231.5 kB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.02055, allocations: 1.098 MB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.02094, allocations: 290.9 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.02182, allocations: 0.7172 MB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.02535, allocations: 415 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.02546, allocations: 83.94 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.02559, allocations: 84 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.02584, allocations: 299.2 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.02612, allocations: 279.4 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.02678, allocations: 0.5996 MB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.02679, allocations: 4 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02679, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.0268, allocations: 4 kB / 381.5 MB, free: 15.07 MB / 362.7 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.001439/0.02824, allocations: 1.049 MB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003041/0.03128, allocations: 15.98 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.03146, allocations: 128.5 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.03217, allocations: 0.5621 MB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.03233, allocations: 190.4 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.03241, allocations: 64.33 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.03304, allocations: 0.5454 MB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.03305, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.03309, allocations: 24 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.0331, allocations: 16 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.0335, allocations: 265.7 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.03554, allocations: 2.442 MB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.03598, allocations: 314 kB / 387.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.03617, allocations: 143.4 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.0362, allocations: 8.281 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.03643, allocations: 196.5 kB / 387.5 MB, free: 8.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.03643, allocations: 0 / 387.5 MB, free: 8.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001257/0.03769, allocations: 0.5643 MB / 388 MB, free: 8.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.03774, allocations: 144.5 kB / 388.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.038, allocations: 386.6 kB / 388.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.03803, allocations: 33.7 kB / 388.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.03821, allocations: 375.3 kB / 388.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.03828, allocations: 122.9 kB / 389.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.03838, allocations: 87.81 kB / 389.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.03852, allocations: 0.5312 MB / 389.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.03863, allocations: 65 kB / 389.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.0388, allocations: 223.9 kB / 390 MB, free: 6.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.03919, allocations: 381.4 kB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.03919, allocations: 0 / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000451/0.03964, allocations: 397.1 kB / 390.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.03966, allocations: 8.625 kB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.03967, allocations: 8 kB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.03995, allocations: 179.9 kB / 390.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.04012, allocations: 87.83 kB / 391 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.04164, allocations: 2.317 MB / 393.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.04179, allocations: 47.7 kB / 393.4 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.04181, allocations: 12 kB / 393.4 MB, free: 2.555 MB / 362.7 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.0001418/0.04195, allocations: 196.5 kB / 393.6 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.042, allocations: 51.72 kB / 393.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.04254, allocations: 338.3 kB / 393.9 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.04254, allocations: 4 kB / 394 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.04255, allocations: 8 kB / 394 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.04255, allocations: 7.922 kB / 394 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.04297, allocations: 0.5748 MB / 394.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.04297, allocations: 0 / 394.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.04311, allocations: 51.91 kB / 394.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.04333, allocations: 171.6 kB / 394.8 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.04335, allocations: 7.938 kB / 394.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.04468, allocations: 2.314 MB / 397.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.04468, allocations: 4.031 kB / 397.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.04528, allocations: 478 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.04537, allocations: 79.53 kB / 397.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.04539, allocations: 4.047 kB / 397.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.04549, allocations: 23.97 kB / 397.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.04557, allocations: 39.94 kB / 397.7 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.04559, allocations: 15.98 kB / 397.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.04573, allocations: 247.1 kB / 398 MB, free: 13.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04573, allocations: 0 / 398 MB, free: 13.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.04608, allocations: 175.5 kB / 398.1 MB, free: 13.57 MB / 378.7 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 9.576e-05/0.04618, allocations: 111.2 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.04669, allocations: 454 kB / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0467, allocations: 0 / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.04695, allocations: 346.2 kB / 399 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.04731, allocations: 135.6 kB / 399.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.04911, allocations: 1.137 MB / 400.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.04924, allocations: 169.7 kB / 400.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.0494, allocations: 68.33 kB / 400.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.04946, allocations: 32.5 kB / 400.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04946, allocations: 0 / 400.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of Templates: time 0.01027/0.05973, allocations: 7.967 MB / 408.5 MB, free: 3.191 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.276149013079703]