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.001659/0.001659, allocations: 106.9 kB / 16.92 MB, free: 6.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.001849/0.001849, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.318/1.318, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1747/0.1747, allocations: 38.04 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.05 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 58.07 MB / 456.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004697/0.1179, allocations: 3.457 MB / 460.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1199, allocations: 1.535 MB / 461.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1201, allocations: 7.938 kB / 461.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.1208, allocations: 251 kB / 462.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1214, allocations: 290.9 kB / 462.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1218, allocations: 115.7 kB / 462.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.1222, allocations: 350.9 kB / 462.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.1225, allocations: 137.8 kB / 463 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1227, allocations: 151.3 kB / 463.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1229, allocations: 155.5 kB / 463.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.123, allocations: 12 kB / 463.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.1235, allocations: 327.1 kB / 463.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1236, allocations: 103.7 kB / 463.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1237, allocations: 103.5 kB / 463.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.1242, allocations: 359 kB / 464.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1242, allocations: 0 / 464.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1242, allocations: 4 kB / 464.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1242, allocations: 0 / 464.2 MB, free: 0.7305 MB / 334.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.0006669/0.1249, allocations: 0.5064 MB / 464.7 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1249, allocations: 8.031 kB / 464.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.1258, allocations: 108.5 kB / 464.8 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1262, allocations: 259.8 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1262, allocations: 16.33 kB / 465.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.1262, allocations: 24.3 kB / 465.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.1267, allocations: 334 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1267, allocations: 0 / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1268, allocations: 8 kB / 465.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.1268, allocations: 23.91 kB / 465.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.1273, allocations: 307.7 kB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1288, allocations: 1.264 MB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1291, allocations: 169 kB / 467.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1293, allocations: 105.7 kB / 467.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1293, allocations: 4 kB / 467.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1293, allocations: 38.56 kB / 467.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.1293, allocations: 0 / 467.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.00148/0.1308, allocations: 0.6583 MB / 468 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1309, allocations: 85.05 kB / 468.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1311, allocations: 194.3 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1311, allocations: 33.83 kB / 468.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1312, allocations: 152 kB / 468.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.1313, allocations: 67.08 kB / 468.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1314, allocations: 45.7 kB / 468.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1315, allocations: 326.8 kB / 468.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1317, allocations: 79.95 kB / 468.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1318, allocations: 149.4 kB / 469.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.1322, allocations: 255 kB / 469.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1322, allocations: 3.938 kB / 469.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006236/0.1329, allocations: 361.8 kB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1329, allocations: 8 kB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1329, allocations: 0 / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/0.1333, allocations: 88.78 kB / 469.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1335, allocations: 43.91 kB / 469.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.136, allocations: 2.168 MB / 472 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1361, allocations: 23.98 kB / 472 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1361, allocations: 8 kB / 472 MB, free: 8.344 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.0001571/0.1363, allocations: 162.1 kB / 472.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1364, allocations: 15.81 kB / 472.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.137, allocations: 318.5 kB / 472.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.137, allocations: 4 kB / 472.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.137, allocations: 4 kB / 472.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.137, allocations: 0 / 472.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.1381, allocations: 0.7448 MB / 473.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1381, allocations: 4.062 kB / 473.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1382, allocations: 27.92 kB / 473.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.1385, allocations: 80.78 kB / 473.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1385, allocations: 3.938 kB / 473.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.1405, allocations: 2.046 MB / 475.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1405, allocations: 0 / 475.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.1411, allocations: 414.4 kB / 475.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1412, allocations: 96.86 kB / 475.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1412, allocations: 4 kB / 475.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1413, allocations: 11.98 kB / 475.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.1414, allocations: 19.92 kB / 476 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1414, allocations: 4 kB / 476 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1415, allocations: 143.1 kB / 476.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1415, allocations: 0 / 476.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.142, allocations: 68 kB / 476.2 MB, free: 3.938 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 0.0001195/0.1421, allocations: 103.2 kB / 476.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.1428, allocations: 394.3 kB / 476.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1428, allocations: 0 / 476.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.1432, allocations: 263.1 kB / 476.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1436, allocations: 50.78 kB / 477 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.1443, allocations: 494.6 kB / 477.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1447, allocations: 0.7636 MB / 478.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1448, allocations: 45.55 kB / 478.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1449, allocations: 23.38 kB / 478.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1449, allocations: 0 / 478.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Templates: time 0.006312/0.1512, allocations: 2.945 MB / 481.2 MB, free: 14.79 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/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