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.001785/0.001785, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002189/0.002189, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.404/1.404, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.1692/0.1692, allocations: 29.44 MB / 290.1 MB, free: 3.277 MB / 270.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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 3.938 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.308e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.007812/0.007835, allocations: 6.231 MB / 437 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.01042, allocations: 1.569 MB / 438.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.01067, allocations: 35.69 kB / 438.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.01122, allocations: 178.6 kB / 438.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.01194, allocations: 405.4 kB / 439.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.01237, allocations: 227.6 kB / 439.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01353, allocations: 1.098 MB / 440.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.01399, allocations: 298.9 kB / 440.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009627/0.01495, allocations: 0.6779 MB / 441.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.01566, allocations: 430.9 kB / 441.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.01578, allocations: 84 kB / 441.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.01595, allocations: 88 kB / 442 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.01626, allocations: 299.2 kB / 442.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.01662, allocations: 275.5 kB / 442.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01774, allocations: 1.059 MB / 443.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01774, allocations: 0 / 443.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01774, allocations: 7.938 kB / 443.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.01775, allocations: 3.938 kB / 443.6 MB, free: 4.957 MB / 366.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.00186/0.01961, allocations: 0.9491 MB / 444.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.01965, allocations: 15.98 kB / 444.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.0198, allocations: 80.47 kB / 444.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.02098, allocations: 0.5866 MB / 445.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.02118, allocations: 190.4 kB / 445.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.02128, allocations: 60.33 kB / 445.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.02262, allocations: 0.7463 MB / 446.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.02264, allocations: 4 kB / 446.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.0227, allocations: 27.98 kB / 446.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.02272, allocations: 19.94 kB / 446.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.02393, allocations: 0.6011 MB / 446.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1709/0.1948, allocations: 2.125 MB / 449 MB, free: 29.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.1957, allocations: 394.3 kB / 449.4 MB, free: 29.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.1961, allocations: 188.8 kB / 449.6 MB, free: 29.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1961, allocations: 8.344 kB / 449.6 MB, free: 29.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.1965, allocations: 235.1 kB / 449.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.1965, allocations: 1.406 kB / 449.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003262/0.1998, allocations: 0.7961 MB / 450.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1998, allocations: 134.6 kB / 450.8 MB, free: 28.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.2002, allocations: 352.4 kB / 451.1 MB, free: 28.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2002, allocations: 32.61 kB / 451.1 MB, free: 28.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2004, allocations: 330.4 kB / 451.5 MB, free: 28.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.2005, allocations: 126 kB / 451.6 MB, free: 28.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2006, allocations: 83.47 kB / 451.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.2007, allocations: 354.5 kB / 452 MB, free: 27.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.201, allocations: 129.8 kB / 452.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.2013, allocations: 252.1 kB / 452.4 MB, free: 27.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2027, allocations: 0.6535 MB / 453 MB, free: 27.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2027, allocations: 1.062 kB / 453 MB, free: 27.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009661/0.2037, allocations: 0.5182 MB / 453.6 MB, free: 26.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2037, allocations: 6.531 kB / 453.6 MB, free: 26.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2037, allocations: 4.406 kB / 453.6 MB, free: 26.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.2042, allocations: 154.6 kB / 453.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2045, allocations: 73.16 kB / 453.8 MB, free: 26.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.2075, allocations: 2.115 MB / 455.9 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2078, allocations: 43.06 kB / 456 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.2078, allocations: 22.94 kB / 456 MB, free: 25.23 MB / 366.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.0002562/0.208, allocations: 251.7 kB / 456.2 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2081, allocations: 41.86 kB / 456.3 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2094, allocations: 479.5 kB / 456.7 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2094, allocations: 5.531 kB / 456.7 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2094, allocations: 1.891 kB / 456.7 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2094, allocations: 4.516 kB / 456.7 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.2099, allocations: 0.5251 MB / 457.3 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2099, allocations: 1.375 kB / 457.3 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2102, allocations: 45.8 kB / 457.3 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.2106, allocations: 154.4 kB / 457.5 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2106, allocations: 7.312 kB / 457.5 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.2134, allocations: 2.093 MB / 459.6 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2134, allocations: 2.016 kB / 459.6 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2149, allocations: 0.6904 MB / 460.3 MB, free: 22.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.2151, allocations: 76.47 kB / 460.3 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.2151, allocations: 12.64 kB / 460.3 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2153, allocations: 16.56 kB / 460.4 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2155, allocations: 39.44 kB / 460.4 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2155, allocations: 7.922 kB / 460.4 MB, free: 22.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.2157, allocations: 244 kB / 460.6 MB, free: 22.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2157, allocations: 3.828 kB / 460.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.2163, allocations: 167 kB / 460.8 MB, free: 22.17 MB / 366.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.0001143/0.2164, allocations: 108 kB / 460.9 MB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000936/0.2173, allocations: 0.4886 MB / 461.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2173, allocations: 1.188 kB / 461.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.2178, allocations: 319.7 kB / 461.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.2184, allocations: 134.4 kB / 461.9 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.2202, allocations: 1.16 MB / 463 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2206, allocations: 336.9 kB / 463.3 MB, free: 20.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.2208, allocations: 77.91 kB / 463.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.2208, allocations: 32.08 kB / 463.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2208, allocations: 1.062 kB / 463.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of Templates: time 0.01229/0.2331, allocations: 6.9 MB / 470.3 MB, free: 18.91 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins/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: 4.835871655493975]