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.001521/0.001521, allocations: 104.7 kB / 17.74 MB, free: 5.316 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.001564/0.001564, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.171/0.171, allocations: 38.04 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005016/0.3082, allocations: 4.926 MB / 0.5096 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3108, allocations: 2.474 MB / 0.512 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.311, allocations: 17.22 kB / 0.512 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.312, allocations: 441 kB / 0.5124 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.3129, allocations: 0.5019 MB / 0.5129 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3134, allocations: 285.9 kB / 0.5132 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006733/0.3141, allocations: 0.7454 MB / 0.5139 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.3145, allocations: 330.3 kB / 0.5142 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.3149, allocations: 327.3 kB / 0.5145 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.3153, allocations: 326.6 kB / 0.5149 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.3154, allocations: 36.44 kB / 0.5149 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.3162, allocations: 0.6329 MB / 0.5155 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.3164, allocations: 198.9 kB / 0.5157 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.3166, allocations: 244.4 kB / 0.5159 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.3175, allocations: 0.7684 MB / 0.5167 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3175, allocations: 0.75 kB / 0.5167 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3175, allocations: 0 / 0.5167 GB, free: 380 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3175, allocations: 0 / 0.5167 GB, free: 380 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.00111/0.3186, allocations: 0.7664 MB / 0.5174 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3187, allocations: 12.73 kB / 0.5174 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.3203, allocations: 203.2 kB / 0.5176 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.321, allocations: 373.4 kB / 0.518 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.321, allocations: 34.58 kB / 0.518 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3211, allocations: 40.11 kB / 0.5181 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.3222, allocations: 0.6305 MB / 0.5187 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3222, allocations: 6.797 kB / 0.5187 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.3223, allocations: 20.3 kB / 0.5187 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.3224, allocations: 36.25 kB / 0.5187 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009631/0.3233, allocations: 0.6097 MB / 0.5193 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.3265, allocations: 2.244 MB / 0.5215 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.3272, allocations: 491.6 kB / 0.522 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.3276, allocations: 234.3 kB / 0.5222 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.3276, allocations: 9.922 kB / 0.5222 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3276, allocations: 37.27 kB / 0.5223 GB, free: 13.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.285e-06/0.3277, allocations: 0 / 0.5223 GB, free: 13.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003438/0.3311, allocations: 1.706 MB / 0.5239 GB, free: 12.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3312, allocations: 80.77 kB / 0.524 GB, free: 12.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.3315, allocations: 284.2 kB / 0.5243 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3315, allocations: 35.23 kB / 0.5243 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3317, allocations: 225 kB / 0.5245 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3319, allocations: 152.3 kB / 0.5247 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.332, allocations: 94.66 kB / 0.5248 GB, free: 11.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3321, allocations: 352.3 kB / 0.5251 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.3324, allocations: 174.5 kB / 0.5253 GB, free: 11.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3328, allocations: 291.4 kB / 0.5255 GB, free: 10.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.3335, allocations: 0.5042 MB / 0.526 GB, free: 10.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3335, allocations: 1.156 kB / 0.526 GB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001185/0.3347, allocations: 0.6758 MB / 0.5267 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3347, allocations: 14.88 kB / 0.5267 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3348, allocations: 3.469 kB / 0.5267 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.3354, allocations: 175.3 kB / 0.5269 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.3357, allocations: 99.5 kB / 0.527 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.3394, allocations: 2.786 MB / 0.5297 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3396, allocations: 25.81 kB / 0.5297 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.3397, allocations: 21.67 kB / 0.5297 GB, free: 8.277 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.0002179/0.3399, allocations: 199 kB / 0.5299 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.34, allocations: 37.66 kB / 0.53 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3412, allocations: 0.6338 MB / 0.5306 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3412, allocations: 2.578 kB / 0.5306 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3412, allocations: 1.5 kB / 0.5306 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.3413, allocations: 110.2 kB / 0.5307 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.3413, allocations: 9.781 kB / 0.5307 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3416, allocations: 17.11 kB / 0.5307 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.3416, allocations: 41.36 kB / 0.5308 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001533/0.3432, allocations: 0.8007 MB / 0.5315 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001094/0.3443, allocations: 0.8888 MB / 0.5324 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002952/0.3446, allocations: 195.9 kB / 0.5326 GB, free: 6.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.3448, allocations: 197.7 kB / 0.5328 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3448, allocations: 0 / 0.5328 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.347, allocations: 0.8681 MB / 0.5336 GB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 0.002082/0.3491, allocations: 1.534 MB / 0.5351 GB, free: 4.977 MB / 398.1 MB Notification: Performance of Templates: time 0.01343/0.3625, allocations: 7.931 MB / 0.5429 GB, free: 0.8633 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