Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.8 kB / 17.74 MB, free: 5.199 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.001244/0.001244, allocations: 189.3 kB / 18.68 MB, free: 4.277 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.173/0.173, allocations: 38.05 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 58.05 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004992/0.2977, allocations: 4.922 MB / 0.5096 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.3005, allocations: 2.476 MB / 0.512 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.3008, allocations: 14 kB / 0.512 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3019, allocations: 434.4 kB / 0.5124 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.303, allocations: 0.5119 MB / 0.5129 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.3037, allocations: 282.2 kB / 0.5132 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.3045, allocations: 0.7505 MB / 0.5139 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.305, allocations: 330.9 kB / 0.5142 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.3054, allocations: 331.6 kB / 0.5146 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.3058, allocations: 325.6 kB / 0.5149 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.3059, allocations: 35.97 kB / 0.5149 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3069, allocations: 0.6299 MB / 0.5155 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3072, allocations: 202.9 kB / 0.5157 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.3074, allocations: 244.5 kB / 0.5159 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3085, allocations: 0.7711 MB / 0.5167 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3085, allocations: 1.094 kB / 0.5167 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3085, allocations: 0 / 0.5167 GB, free: 376 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3085, allocations: 0 / 0.5167 GB, free: 376 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001075/0.3096, allocations: 0.7821 MB / 0.5175 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3097, allocations: 13.39 kB / 0.5175 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.3113, allocations: 206.5 kB / 0.5177 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.3119, allocations: 374.6 kB / 0.518 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.312, allocations: 30.83 kB / 0.5181 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.3121, allocations: 43.84 kB / 0.5181 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3131, allocations: 0.6308 MB / 0.5187 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.3132, allocations: 1.469 kB / 0.5187 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.3132, allocations: 16.78 kB / 0.5187 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.3133, allocations: 31.59 kB / 0.5188 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.3143, allocations: 0.6154 MB / 0.5194 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.3175, allocations: 2.249 MB / 0.5216 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3182, allocations: 499.1 kB / 0.522 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.3186, allocations: 234.4 kB / 0.5223 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.3186, allocations: 5.188 kB / 0.5223 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3187, allocations: 37.5 kB / 0.5223 GB, free: 13.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.3187, allocations: 1.094 kB / 0.5223 GB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003448/0.3221, allocations: 1.714 MB / 0.524 GB, free: 12.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3222, allocations: 81.3 kB / 0.5241 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.3225, allocations: 283.7 kB / 0.5243 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3226, allocations: 35.11 kB / 0.5244 GB, free: 11.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3227, allocations: 237.3 kB / 0.5246 GB, free: 11.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3228, allocations: 159 kB / 0.5247 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.323, allocations: 85.33 kB / 0.5248 GB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3231, allocations: 347.5 kB / 0.5251 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.3234, allocations: 178.6 kB / 0.5253 GB, free: 11.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.3238, allocations: 289.6 kB / 0.5256 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.3244, allocations: 0.5074 MB / 0.5261 GB, free: 10.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3245, allocations: 1.219 kB / 0.5261 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001222/0.3257, allocations: 0.6763 MB / 0.5268 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3257, allocations: 10.55 kB / 0.5268 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3257, allocations: 3.469 kB / 0.5268 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.3263, allocations: 185.5 kB / 0.5269 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3267, allocations: 92.97 kB / 0.527 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.3303, allocations: 2.791 MB / 0.5298 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3306, allocations: 22.05 kB / 0.5298 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.3307, allocations: 22.22 kB / 0.5298 GB, free: 8.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.3309, allocations: 202.9 kB / 0.53 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.331, allocations: 42.83 kB / 0.53 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3322, allocations: 0.6275 MB / 0.5306 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3322, allocations: 3.688 kB / 0.5307 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3322, allocations: 0 / 0.5307 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3324, allocations: 118.2 kB / 0.5308 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.3324, allocations: 7.062 kB / 0.5308 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3326, allocations: 18.72 kB / 0.5308 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.3327, allocations: 42.92 kB / 0.5308 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001435/0.3342, allocations: 0.7962 MB / 0.5316 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00107/0.3353, allocations: 0.8905 MB / 0.5325 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003159/0.3356, allocations: 189.6 kB / 0.5327 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3358, allocations: 203.3 kB / 0.5329 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Backend: time 8.22e-07/0.3358, allocations: 0 / 0.5329 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.338, allocations: 0.8827 MB / 0.5337 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 0.00187/0.3399, allocations: 1.538 MB / 0.5352 GB, free: 4.879 MB / 398.1 MB Notification: Performance of Templates: time 0.01432/0.3543, allocations: 7.953 MB / 0.543 GB, free: 0.7461 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.GeneratorTest2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches