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.0006841/0.0006842, allocations: 90.97 kB / 16.65 MB, free: 6.586 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.0007353/0.0007353, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.193/1.193, allocations: 223.3 MB / 241.6 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1545/0.1545, allocations: 38.09 MB / 330.8 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8.625 kB / 400.7 MB, free: 34.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09097, allocations: 59.17 MB / 459.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00338/0.09438, allocations: 3.337 MB / 463.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.09621, allocations: 1.567 MB / 464.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.09638, allocations: 11.94 kB / 464.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.09652, allocations: 31.77 kB / 464.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.0971, allocations: 275.1 kB / 465.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.09739, allocations: 111.7 kB / 465.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.09789, allocations: 0.569 MB / 465.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.09842, allocations: 330.8 kB / 466.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.0986, allocations: 123.4 kB / 466.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.0988, allocations: 155.5 kB / 466.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.09883, allocations: 8 kB / 466.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.0993, allocations: 399 kB / 466.8 MB, free: 180 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.0994, allocations: 87.75 kB / 466.9 MB, free: 92 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.09951, allocations: 129.1 kB / 467 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.09988, allocations: 370.8 kB / 467.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09989, allocations: 0 / 467.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0999, allocations: 4 kB / 467.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.09991, allocations: 0 / 467.4 MB, free: 15.59 MB / 350.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.0005149/0.1004, allocations: 490.6 kB / 467.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1005, allocations: 12.03 kB / 467.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.1013, allocations: 96.62 kB / 467.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1015, allocations: 267.8 kB / 468.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1016, allocations: 16.33 kB / 468.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1016, allocations: 16.38 kB / 468.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.1021, allocations: 333.8 kB / 468.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1021, allocations: 0 / 468.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.1021, allocations: 4 kB / 468.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.1021, allocations: 23.98 kB / 468.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1026, allocations: 307.7 kB / 468.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1039, allocations: 1.271 MB / 470.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1041, allocations: 161.1 kB / 470.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1043, allocations: 109.7 kB / 470.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1043, allocations: 4 kB / 470.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1043, allocations: 34.5 kB / 470.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/0.1043, allocations: 0 / 470.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001314/0.1057, allocations: 0.6732 MB / 471.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1057, allocations: 89.17 kB / 471.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1059, allocations: 190.4 kB / 471.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1059, allocations: 29.7 kB / 471.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.106, allocations: 148 kB / 471.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.106, allocations: 63.09 kB / 471.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1061, allocations: 29.7 kB / 471.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.1062, allocations: 326.8 kB / 472 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1063, allocations: 79.94 kB / 472.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1064, allocations: 153.4 kB / 472.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1067, allocations: 254.7 kB / 472.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1067, allocations: 0 / 472.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005499/0.1073, allocations: 357.8 kB / 472.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1073, allocations: 7.938 kB / 472.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1073, allocations: 4 kB / 472.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.1077, allocations: 88.78 kB / 472.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1078, allocations: 39.91 kB / 472.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.1097, allocations: 1.954 MB / 474.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1099, allocations: 15.92 kB / 474.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1099, allocations: 8 kB / 474.9 MB, free: 7.488 MB / 350.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.0001189/0.11, allocations: 162.1 kB / 475.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.1101, allocations: 15.81 kB / 475.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/0.1106, allocations: 324.1 kB / 475.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1106, allocations: 7.938 kB / 475.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1107, allocations: 0 / 475.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1107, allocations: 0 / 475.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.1117, allocations: 0.7465 MB / 476.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1117, allocations: 0 / 476.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1118, allocations: 23.98 kB / 476.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.112, allocations: 80.91 kB / 476.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1121, allocations: 4 kB / 476.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.1136, allocations: 1.822 MB / 478.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1137, allocations: 7.922 kB / 478.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1142, allocations: 409.8 kB / 478.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.1142, allocations: 96.91 kB / 478.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1143, allocations: 3.938 kB / 478.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1144, allocations: 11.98 kB / 478.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1144, allocations: 19.92 kB / 478.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1144, allocations: 8 kB / 478.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.323e-05/0.1145, allocations: 144.2 kB / 478.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1146, allocations: 0 / 478.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.115, allocations: 72 kB / 478.9 MB, free: 3.297 MB / 350.1 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 8.412e-05/0.115, allocations: 99.19 kB / 479 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.1156, allocations: 373.4 kB / 479.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1156, allocations: 4.125 kB / 479.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.116, allocations: 262.4 kB / 479.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1163, allocations: 35.92 kB / 479.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.117, allocations: 0.5919 MB / 480.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1173, allocations: 0.7717 MB / 481 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1174, allocations: 37.64 kB / 481 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.1175, allocations: 23.42 kB / 481 MB, free: 1.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1175, allocations: 4 kB / 481 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Templates: time 0.004842/0.1223, allocations: 2.708 MB / 483.7 MB, free: 14.31 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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