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.001581/0.001581, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.001874/0.001874, allocations: 192 kB / 18.62 MB, free: 4.434 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1867/0.1867, allocations: 38.04 MB / 330.5 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 62.72 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 58.06 MB / 458.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004868/0.1273, allocations: 3.465 MB / 461.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1294, allocations: 1.531 MB / 463.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1295, allocations: 8 kB / 463.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.1303, allocations: 255 kB / 463.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.1308, allocations: 279 kB / 463.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1311, allocations: 123.6 kB / 464 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.1315, allocations: 358.9 kB / 464.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.1318, allocations: 133.9 kB / 464.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.132, allocations: 147.4 kB / 464.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1322, allocations: 155.5 kB / 464.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1323, allocations: 16 kB / 464.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1328, allocations: 319.2 kB / 465.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1329, allocations: 99.7 kB / 465.2 MB, free: 480 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.133, allocations: 111.5 kB / 465.3 MB, free: 368 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.1334, allocations: 355 kB / 465.6 MB, free: 12 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1335, allocations: 0 / 465.6 MB, free: 12 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1335, allocations: 0 / 465.6 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1335, allocations: 0 / 465.6 MB, free: 12 kB / 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.000635/0.1341, allocations: 0.5259 MB / 466.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1342, allocations: 8.031 kB / 466.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.1351, allocations: 100.5 kB / 466.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1354, allocations: 275.8 kB / 466.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1354, allocations: 12.33 kB / 466.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.1355, allocations: 24.38 kB / 466.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.136, allocations: 329.9 kB / 466.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.136, allocations: 0 / 466.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.136, allocations: 8 kB / 466.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.136, allocations: 12 kB / 466.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1365, allocations: 319.7 kB / 467.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1381, allocations: 1.271 MB / 468.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1384, allocations: 153.1 kB / 468.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1385, allocations: 101.7 kB / 468.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1386, allocations: 7.938 kB / 468.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1386, allocations: 38.56 kB / 468.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.1386, allocations: 0 / 468.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001516/0.1401, allocations: 0.6695 MB / 469.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.1402, allocations: 77.11 kB / 469.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1404, allocations: 194.3 kB / 469.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1404, allocations: 25.7 kB / 469.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.1405, allocations: 156 kB / 469.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.1406, allocations: 63.09 kB / 470 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.1407, allocations: 45.83 kB / 470 MB, free: 11.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1408, allocations: 330.8 kB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1409, allocations: 79.95 kB / 470.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1411, allocations: 153.3 kB / 470.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1414, allocations: 267.6 kB / 470.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1414, allocations: 0 / 470.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006355/0.142, allocations: 353.8 kB / 471.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1421, allocations: 4.281 kB / 471.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1421, allocations: 8 kB / 471.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.1425, allocations: 88.78 kB / 471.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1426, allocations: 43.91 kB / 471.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.1452, allocations: 2.159 MB / 473.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1454, allocations: 15.92 kB / 473.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1454, allocations: 8 kB / 473.5 MB, free: 7.625 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.0001514/0.1456, allocations: 162.1 kB / 473.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1456, allocations: 15.81 kB / 473.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.1462, allocations: 324 kB / 474 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1462, allocations: 8.125 kB / 474 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1462, allocations: 4 kB / 474 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1462, allocations: 3.984 kB / 474 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.1474, allocations: 0.7372 MB / 474.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1474, allocations: 8.062 kB / 474.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1475, allocations: 27.92 kB / 474.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.1478, allocations: 76.78 kB / 474.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1479, allocations: 7.938 kB / 474.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.1498, allocations: 2.033 MB / 476.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1499, allocations: 0 / 476.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.1504, allocations: 414.5 kB / 477.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.1505, allocations: 92.86 kB / 477.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1506, allocations: 11.98 kB / 477.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1507, allocations: 16.06 kB / 477.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1508, allocations: 12.03 kB / 477.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1508, allocations: 11.97 kB / 477.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1509, allocations: 147 kB / 477.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1509, allocations: 0 / 477.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.1515, allocations: 68 kB / 477.6 MB, free: 3.207 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.0001221/0.1516, allocations: 103.2 kB / 477.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007253/0.1523, allocations: 374.8 kB / 478.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1523, allocations: 4.062 kB / 478.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1527, allocations: 258.5 kB / 478.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1531, allocations: 44.73 kB / 478.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.1539, allocations: 0.4971 MB / 478.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1544, allocations: 0.7713 MB / 479.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.1545, allocations: 33.52 kB / 479.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1545, allocations: 27.42 kB / 479.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1545, allocations: 0 / 479.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Templates: time 0.006184/0.1607, allocations: 2.943 MB / 482.7 MB, free: 14.08 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 -s gbode -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