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.001504/0.001504, allocations: 105.6 kB / 16.51 MB, free: 6.707 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.001754/0.001754, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1764/0.1764, allocations: 38.04 MB / 329.3 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.83 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 58.07 MB / 456.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00689/0.1247, allocations: 3.693 MB / 459.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1275, allocations: 1.605 MB / 461.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.1278, allocations: 11.94 kB / 461.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009483/0.1288, allocations: 252.6 kB / 461.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006605/0.1294, allocations: 259.2 kB / 462 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1298, allocations: 111.8 kB / 462.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.1304, allocations: 0.5728 MB / 462.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.1308, allocations: 130.1 kB / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.1312, allocations: 135.4 kB / 462.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.1316, allocations: 167.4 kB / 463.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.1316, allocations: 12 kB / 463.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.1323, allocations: 399 kB / 463.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1325, allocations: 91.77 kB / 463.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1326, allocations: 103.5 kB / 463.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.1332, allocations: 378.8 kB / 464 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1332, allocations: 0 / 464 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1332, allocations: 4 kB / 464 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1333, allocations: 3.938 kB / 464 MB, free: 0.6016 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.0007458/0.134, allocations: 0.5103 MB / 464.6 MB, free: 44 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1341, allocations: 8.031 kB / 464.6 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.1351, allocations: 100.7 kB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1354, allocations: 270.5 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1355, allocations: 16.33 kB / 464.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1355, allocations: 12.38 kB / 465 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.136, allocations: 333.8 kB / 465.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1361, allocations: 4 kB / 465.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1361, allocations: 7.938 kB / 465.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.1361, allocations: 19.98 kB / 465.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.1366, allocations: 315.7 kB / 465.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1383, allocations: 1.26 MB / 466.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1386, allocations: 165 kB / 467 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1388, allocations: 113.7 kB / 467.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1388, allocations: 7.984 kB / 467.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1388, allocations: 30.56 kB / 467.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1388, allocations: 0 / 467.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001541/0.1404, allocations: 0.6652 MB / 467.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1404, allocations: 85.05 kB / 467.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1406, allocations: 190.4 kB / 468.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1407, allocations: 33.83 kB / 468.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.1408, allocations: 148 kB / 468.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.1408, allocations: 63.09 kB / 468.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.1409, allocations: 49.64 kB / 468.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.141, allocations: 330.8 kB / 468.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1412, allocations: 79.89 kB / 468.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1414, allocations: 153.4 kB / 469 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.1417, allocations: 252.4 kB / 469.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1417, allocations: 0 / 469.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006375/0.1424, allocations: 364.5 kB / 469.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1424, allocations: 4 kB / 469.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1424, allocations: 4 kB / 469.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.1428, allocations: 92.72 kB / 469.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.143, allocations: 31.98 kB / 469.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.1453, allocations: 1.967 MB / 471.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1455, allocations: 19.92 kB / 471.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1455, allocations: 8 kB / 471.7 MB, free: 8.434 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.0001464/0.1456, allocations: 154.2 kB / 471.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.1457, allocations: 19.8 kB / 471.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.1463, allocations: 324 kB / 472.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1463, allocations: 4 kB / 472.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1463, allocations: 0 / 472.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1464, allocations: 0 / 472.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1475, allocations: 0.7487 MB / 472.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1476, allocations: 0 / 472.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1477, allocations: 27.92 kB / 473 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.148, allocations: 84.77 kB / 473 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.148, allocations: 0 / 473 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.1499, allocations: 1.83 MB / 474.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1499, allocations: 4.031 kB / 474.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.1505, allocations: 406.5 kB / 475.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1506, allocations: 100.8 kB / 475.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1506, allocations: 0 / 475.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1508, allocations: 8 kB / 475.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.1509, allocations: 27.84 kB / 475.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1509, allocations: 4 kB / 475.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.151, allocations: 140.3 kB / 475.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.151, allocations: 4 kB / 475.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.1515, allocations: 68 kB / 475.6 MB, free: 4.246 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.0001131/0.1516, allocations: 99.25 kB / 475.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.1523, allocations: 377.4 kB / 476.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1523, allocations: 0 / 476.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.1527, allocations: 258.5 kB / 476.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1531, allocations: 35.92 kB / 476.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.154, allocations: 0.5759 MB / 476.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1543, allocations: 0.7677 MB / 477.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1544, allocations: 37.52 kB / 477.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.1545, allocations: 15.44 kB / 477.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1545, allocations: 4 kB / 477.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Templates: time 0.006057/0.1606, allocations: 2.76 MB / 480.5 MB, free: 15.24 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