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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002107/0.002107, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001276, allocations: 98.23 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2218/0.2218, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.91 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3766, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.006003/0.3827, allocations: 3.714 MB / 480.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3854, allocations: 1.643 MB / 482.5 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3856, allocations: 10.62 kB / 482.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008229/0.3864, allocations: 232.5 kB / 482.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006683/0.3871, allocations: 271.9 kB / 483 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.3875, allocations: 111.1 kB / 483.1 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.3882, allocations: 0.5723 MB / 483.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.3886, allocations: 144.3 kB / 483.8 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3888, allocations: 128.2 kB / 483.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.3891, allocations: 162.9 kB / 484.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3892, allocations: 15.67 kB / 484.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.3899, allocations: 404.6 kB / 484.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.39, allocations: 94.03 kB / 484.6 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3902, allocations: 112.7 kB / 484.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.3908, allocations: 376.3 kB / 485 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3909, allocations: 0 / 485 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3909, allocations: 0 / 485 MB, free: 5.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3909, allocations: 0 / 485 MB, free: 5.07 MB / 314.7 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.0007847/0.3917, allocations: 0.5141 MB / 485.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3917, allocations: 8.75 kB / 485.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.3927, allocations: 106.7 kB / 485.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3931, allocations: 267 kB / 485.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3931, allocations: 11.25 kB / 485.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.3932, allocations: 16.75 kB / 486 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3937, allocations: 331.7 kB / 486.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3937, allocations: 1.375 kB / 486.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3937, allocations: 11.36 kB / 486.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.3938, allocations: 19.23 kB / 486.3 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.3943, allocations: 310.1 kB / 486.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3959, allocations: 1.258 MB / 487.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3962, allocations: 169.4 kB / 488 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.3963, allocations: 108 kB / 488.1 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3964, allocations: 1.375 kB / 488.1 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3964, allocations: 40.62 kB / 488.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/0.3964, allocations: 1.375 kB / 488.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001622/0.398, allocations: 0.6665 MB / 488.9 MB, free: 2.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3981, allocations: 83.77 kB / 488.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3983, allocations: 191.6 kB / 489.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3983, allocations: 30.7 kB / 489.2 MB, free: 2.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.3984, allocations: 151.7 kB / 489.3 MB, free: 2.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.3985, allocations: 60.7 kB / 489.4 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.3986, allocations: 47.45 kB / 489.4 MB, free: 2.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.3986, allocations: 334.6 kB / 489.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3988, allocations: 77.25 kB / 489.8 MB, free: 1.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.399, allocations: 149.8 kB / 490 MB, free: 1.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.3993, allocations: 260 kB / 490.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3993, allocations: 4 kB / 490.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000644/0.4, allocations: 347.7 kB / 490.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4, allocations: 6.188 kB / 490.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4, allocations: 2.406 kB / 490.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.4005, allocations: 98.16 kB / 490.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4007, allocations: 39.09 kB / 490.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.403, allocations: 1.965 MB / 492.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4032, allocations: 12.72 kB / 492.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.4032, allocations: 9.234 kB / 492.7 MB, free: 15.68 MB / 330.7 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.0001878/0.4034, allocations: 167.4 kB / 492.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.4035, allocations: 17.22 kB / 492.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006871/0.4042, allocations: 318 kB / 493.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4042, allocations: 3.25 kB / 493.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.4042, allocations: 0 / 493.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4042, allocations: 2.516 kB / 493.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.4055, allocations: 0.748 MB / 493.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4055, allocations: 1.031 kB / 493.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4056, allocations: 25.7 kB / 494 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.4059, allocations: 82.5 kB / 494 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4059, allocations: 2.844 kB / 494 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.4081, allocations: 1.817 MB / 495.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.4081, allocations: 5.609 kB / 495.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.4092, allocations: 1.088 MB / 496.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.4093, allocations: 92.66 kB / 497 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4093, allocations: 10.88 kB / 497 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4095, allocations: 14.11 kB / 497.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.4095, allocations: 21.3 kB / 497.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4095, allocations: 5.062 kB / 497.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.4097, allocations: 144.6 kB / 497.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4097, allocations: 0 / 497.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005705/0.4103, allocations: 68.75 kB / 497.3 MB, free: 12.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.4104, allocations: 106.7 kB / 497.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007284/0.4111, allocations: 375.9 kB / 497.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4112, allocations: 0 / 497.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.4116, allocations: 262.2 kB / 498 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4119, allocations: 34.45 kB / 498.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4131, allocations: 0.7544 MB / 498.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.4135, allocations: 0.7719 MB / 499.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4136, allocations: 35.56 kB / 499.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.4136, allocations: 18.66 kB / 499.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4137, allocations: 0 / 499.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of Templates: time 0.00623/0.4199, allocations: 2.896 MB / 0.4908 GB, free: 9.344 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../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