Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 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: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007766/0.007766, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001807/0.001807, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06131/0.06131, allocations: 14.17 MB / 284.1 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.09 kB / 396 MB, free: 44.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1006, allocations: 50.14 MB / 446.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.007005/0.1077, allocations: 7.161 MB / 453.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.1126, allocations: 3.533 MB / 456.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005553/0.1132, allocations: 15.94 kB / 456.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.1142, allocations: 413.7 kB / 457.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.1174, allocations: 1.603 MB / 458.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.1184, allocations: 0.5719 MB / 459.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.1202, allocations: 1.825 MB / 461.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1205, allocations: 125 kB / 461.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.1212, allocations: 0.6148 MB / 462 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.1219, allocations: 0.6381 MB / 462.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.122, allocations: 64 kB / 462.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.1228, allocations: 423.7 kB / 463.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1229, allocations: 163.2 kB / 463.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.1234, allocations: 0.5364 MB / 463.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1249, allocations: 1.477 MB / 465.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1249, allocations: 0 / 465.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1249, allocations: 0 / 465.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1249, allocations: 0 / 465.3 MB, free: 10.93 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004599/0.1295, allocations: 1.696 MB / 467 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1296, allocations: 8.031 kB / 467 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1297, allocations: 118.7 kB / 467.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.1302, allocations: 147.8 kB / 467.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.1314, allocations: 0.6766 MB / 467.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.1314, allocations: 54.12 kB / 468 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.1315, allocations: 72 kB / 468 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1326, allocations: 0.7553 MB / 468.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1326, allocations: 0 / 468.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.1327, allocations: 32 kB / 468.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1327, allocations: 16 kB / 468.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1338, allocations: 0.683 MB / 469.5 MB, free: 6.535 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/0.1394, allocations: 5.219 MB / 474.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.141, allocations: 0.9494 MB / 475.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.1414, allocations: 298.7 kB / 476 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.1415, allocations: 4.656 kB / 476 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1415, allocations: 43.22 kB / 476 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 1.994e-06/0.1415, allocations: 0 / 476 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004398/0.1459, allocations: 1.565 MB / 477.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.146, allocations: 60.06 kB / 477.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.1467, allocations: 0.5575 MB / 478.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1467, allocations: 33.7 kB / 478.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.147, allocations: 355.9 kB / 478.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.1472, allocations: 272 kB / 478.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.1474, allocations: 126.6 kB / 479 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1475, allocations: 374.8 kB / 479.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.1479, allocations: 209.9 kB / 479.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.1483, allocations: 334 kB / 479.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.1492, allocations: 0.5836 MB / 480.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1492, allocations: 0 / 480.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00177/0.151, allocations: 0.9466 MB / 481.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.151, allocations: 4 kB / 481.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.151, allocations: 4 kB / 481.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.1521, allocations: 320.8 kB / 481.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.1528, allocations: 163.8 kB / 481.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/0.1577, allocations: 3.37 MB / 485.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.1585, allocations: 51.58 kB / 485.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.1586, allocations: 28 kB / 485.3 MB, free: 5.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.1589, allocations: 225.6 kB / 485.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.1592, allocations: 71.16 kB / 485.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.161, allocations: 0.8802 MB / 486.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1611, allocations: 11.94 kB / 486.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1611, allocations: 0 / 486.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.1611, allocations: 7.922 kB / 486.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.1644, allocations: 1.924 MB / 488.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1644, allocations: 4 kB / 488.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.1649, allocations: 123.9 kB / 488.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.166, allocations: 304.5 kB / 488.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.166, allocations: 16 kB / 488.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.171, allocations: 3.272 MB / 492.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.171, allocations: 0 / 492.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.1729, allocations: 0.9483 MB / 493.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.1734, allocations: 220.1 kB / 493.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.1735, allocations: 19.92 kB / 493.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.1741, allocations: 19.91 kB / 493.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1743, allocations: 56.58 kB / 493.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.1743, allocations: 16 kB / 493.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000672/0.175, allocations: 390.8 kB / 493.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.175, allocations: 0 / 493.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001168/0.1762, allocations: 331.8 kB / 494.1 MB, free: 12.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.1784, allocations: 1.55 MB / 495.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.1802, allocations: 0.9116 MB / 496.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1802, allocations: 0 / 496.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1813, allocations: 0.6064 MB / 497.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.182, allocations: 109.4 kB / 497.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/0.1917, allocations: 5.996 MB / 0.4915 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.1925, allocations: 0.9427 MB / 0.4924 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.1929, allocations: 89.3 kB / 0.4925 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.1934, allocations: 263.3 kB / 0.4928 GB, free: 2.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1934, allocations: 4 kB / 0.4928 GB, free: 2.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/0.2429, allocations: 19.85 MB / 0.5122 GB, free: 14.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.24, allocations: 7.984 kB / 0.5122 GB, free: 14.19 MB / 414.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches