Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 107 kB / 17.74 MB, free: 5.359 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.001714/0.001714, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1763/0.1763, allocations: 38.04 MB / 330.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 58.06 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004696/0.3031, allocations: 3.461 MB / 0.5081 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3052, allocations: 1.527 MB / 0.5096 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.3054, allocations: 8.781 kB / 0.5096 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.3062, allocations: 258 kB / 0.5099 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.307, allocations: 287.4 kB / 0.5102 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3074, allocations: 121.8 kB / 0.5103 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000555/0.308, allocations: 350.9 kB / 0.5106 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.3083, allocations: 136.6 kB / 0.5108 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.3087, allocations: 156.2 kB / 0.5109 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3089, allocations: 152.2 kB / 0.511 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.309, allocations: 15.31 kB / 0.5111 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.3095, allocations: 330.2 kB / 0.5114 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3097, allocations: 94.05 kB / 0.5115 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3098, allocations: 116 kB / 0.5116 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.3104, allocations: 364.8 kB / 0.5119 GB, free: 3.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3105, allocations: 0 / 0.5119 GB, free: 3.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3105, allocations: 0 / 0.5119 GB, free: 3.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3105, allocations: 1.375 kB / 0.5119 GB, free: 3.285 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006963/0.3112, allocations: 0.5095 MB / 0.5124 GB, free: 2.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3112, allocations: 8.844 kB / 0.5124 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3123, allocations: 101.4 kB / 0.5125 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3127, allocations: 272.3 kB / 0.5128 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3127, allocations: 11.42 kB / 0.5128 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.3128, allocations: 20.22 kB / 0.5128 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.3134, allocations: 332.5 kB / 0.5131 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.3134, allocations: 1.062 kB / 0.5131 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.3134, allocations: 6.188 kB / 0.5131 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.3135, allocations: 24.44 kB / 0.5132 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.314, allocations: 312.8 kB / 0.5135 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.3157, allocations: 1.252 MB / 0.5147 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3159, allocations: 169.8 kB / 0.5148 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3161, allocations: 107.6 kB / 0.5149 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3161, allocations: 6.656 kB / 0.515 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3161, allocations: 32.73 kB / 0.515 GB, free: 1.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.3161, allocations: 0 / 0.515 GB, free: 1.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001466/0.3176, allocations: 0.6597 MB / 0.5156 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3177, allocations: 84.2 kB / 0.5157 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3179, allocations: 198.8 kB / 0.5159 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3179, allocations: 30.98 kB / 0.5159 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.318, allocations: 152.6 kB / 0.5161 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.318, allocations: 60.5 kB / 0.5161 GB, free: 368 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.3181, allocations: 47.31 kB / 0.5162 GB, free: 336 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.3182, allocations: 328.9 kB / 0.5165 GB, free: 8 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3183, allocations: 78 kB / 0.5166 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3185, allocations: 153.7 kB / 0.5167 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3189, allocations: 263.2 kB / 0.517 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3189, allocations: 1.031 kB / 0.517 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007163/0.3196, allocations: 355.7 kB / 0.5173 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3196, allocations: 5.969 kB / 0.5173 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3196, allocations: 2.094 kB / 0.5173 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.32, allocations: 90.64 kB / 0.5174 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3202, allocations: 35.23 kB / 0.5174 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.3229, allocations: 2.178 MB / 0.5196 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3231, allocations: 13.11 kB / 0.5196 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.3231, allocations: 13.5 kB / 0.5196 GB, free: 13.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3233, allocations: 159.9 kB / 0.5197 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3233, allocations: 20.47 kB / 0.5198 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.324, allocations: 322 kB / 0.5201 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.324, allocations: 0.7031 kB / 0.5201 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.324, allocations: 0.6562 kB / 0.5201 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.3241, allocations: 93.03 kB / 0.5202 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.3241, allocations: 5.938 kB / 0.5202 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3243, allocations: 11.3 kB / 0.5202 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.3243, allocations: 23.27 kB / 0.5202 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007314/0.3251, allocations: 476.9 kB / 0.5206 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005347/0.3256, allocations: 0.5482 MB / 0.5212 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000131/0.3258, allocations: 85.95 kB / 0.5213 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3259, allocations: 142 kB / 0.5214 GB, free: 12.54 MB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.3259, allocations: 0 / 0.5214 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3274, allocations: 0.5341 MB / 0.5219 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 0.001057/0.3284, allocations: 0.9211 MB / 0.5228 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Templates: time 0.008798/0.3372, allocations: 4.053 MB / 0.5268 GB, free: 10.98 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.terminal_p.v[1],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,source.terminal.v[1],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time