Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 198.5 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2853, allocations: 58.06 MB / 0.5048 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005216/0.2905, allocations: 5.436 MB / 0.5101 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.292, allocations: 1.106 MB / 0.5112 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2922, allocations: 18.84 kB / 0.5112 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.2924, allocations: 83.38 kB / 0.5113 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.293, allocations: 303.3 kB / 0.5115 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2933, allocations: 142.1 kB / 0.5117 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.2939, allocations: 0.7031 MB / 0.5124 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.2941, allocations: 174.5 kB / 0.5125 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.2945, allocations: 319.9 kB / 0.5128 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.295, allocations: 334.5 kB / 0.5132 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.295, allocations: 32.44 kB / 0.5132 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.2951, allocations: 34.78 kB / 0.5132 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2953, allocations: 155.9 kB / 0.5134 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2955, allocations: 246.3 kB / 0.5136 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.296, allocations: 0.4906 MB / 0.5141 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.296, allocations: 1.406 kB / 0.5141 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.296, allocations: 0 / 0.5141 GB, free: 1.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.296, allocations: 0 / 0.5141 GB, free: 1.699 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001086/0.2971, allocations: 0.7985 MB / 0.5149 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2972, allocations: 8.547 kB / 0.5149 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.2973, allocations: 54.33 kB / 0.5149 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.2979, allocations: 476.9 kB / 0.5154 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2979, allocations: 28.25 kB / 0.5154 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.298, allocations: 36.06 kB / 0.5154 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.2985, allocations: 455.2 kB / 0.5159 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2986, allocations: 4.938 kB / 0.5159 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.2986, allocations: 17.16 kB / 0.5159 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2986, allocations: 8.469 kB / 0.5159 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.2991, allocations: 313.5 kB / 0.5162 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.301, allocations: 1.762 MB / 0.5179 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3013, allocations: 140.6 kB / 0.5181 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3014, allocations: 62.06 kB / 0.5181 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3014, allocations: 2.188 kB / 0.5181 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3014, allocations: 33.66 kB / 0.5181 GB, free: 14.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3014, allocations: 0 / 0.5181 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009596/0.3024, allocations: 0.6205 MB / 0.5188 GB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3025, allocations: 109.2 kB / 0.5189 GB, free: 14.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.303, allocations: 370.1 kB / 0.5192 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.303, allocations: 30.7 kB / 0.5192 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.3032, allocations: 287.6 kB / 0.5195 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.3033, allocations: 65.52 kB / 0.5196 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.3034, allocations: 60.12 kB / 0.5196 GB, free: 13.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3035, allocations: 351.9 kB / 0.52 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.3036, allocations: 48.38 kB / 0.52 GB, free: 13.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.3038, allocations: 194 kB / 0.5202 GB, free: 13.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.3041, allocations: 267.9 kB / 0.5205 GB, free: 12.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3041, allocations: 1.281 kB / 0.5205 GB, free: 12.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004255/0.3046, allocations: 301.5 kB / 0.5207 GB, free: 12.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3046, allocations: 9.016 kB / 0.5208 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3046, allocations: 4.547 kB / 0.5208 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3046, allocations: 7.469 kB / 0.5208 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3049, allocations: 64.64 kB / 0.5208 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.3049, allocations: 19.84 kB / 0.5208 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3051, allocations: 14.75 kB / 0.5209 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3051, allocations: 18.27 kB / 0.5209 GB, free: 12.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.3053, allocations: 187.4 kB / 0.5211 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.3054, allocations: 40.86 kB / 0.5211 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3056, allocations: 164.7 kB / 0.5213 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3057, allocations: 2.141 kB / 0.5213 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3057, allocations: 5.031 kB / 0.5213 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.3058, allocations: 108.3 kB / 0.5214 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.3058, allocations: 6.078 kB / 0.5214 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.306, allocations: 5.906 kB / 0.5214 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.306, allocations: 18.25 kB / 0.5214 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004144/0.3064, allocations: 394.7 kB / 0.5218 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004499/0.3069, allocations: 0.5335 MB / 0.5223 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.881e-05/0.307, allocations: 53.69 kB / 0.5223 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.3073, allocations: 259.1 kB / 0.5226 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.3073, allocations: 0 / 0.5226 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.3079, allocations: 190.1 kB / 0.5228 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 0.001721/0.3096, allocations: 1.369 MB / 0.5241 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Templates: time 0.007658/0.3173, allocations: 3.51 MB / 0.5275 GB, free: 9.887 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches