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.008519/0.008519, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001997/0.001997, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.397/1.397, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06814/0.06814, allocations: 14.17 MB / 284.1 MB, free: 6.988 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.002237/0.002237, allocations: 68.11 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2699, allocations: 50.14 MB / 446.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.007167/0.2771, allocations: 7.168 MB / 453.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.283, allocations: 3.528 MB / 456.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.2838, allocations: 16.62 kB / 456.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.2849, allocations: 409.5 kB / 457.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.2886, allocations: 1.558 MB / 458.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2897, allocations: 0.5735 MB / 459.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.2919, allocations: 1.831 MB / 461.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.2922, allocations: 120.5 kB / 461.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008698/0.2931, allocations: 0.6034 MB / 461.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.2939, allocations: 0.6331 MB / 462.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.294, allocations: 61.88 kB / 462.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2954, allocations: 425.1 kB / 463 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2955, allocations: 155.8 kB / 463.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.2962, allocations: 0.5401 MB / 463.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.2987, allocations: 1.489 MB / 465.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.547e-06/0.2987, allocations: 0 / 465.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2988, allocations: 5.125 kB / 465.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.2988, allocations: 0 / 465.2 MB, free: 3.652 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005304/0.3041, allocations: 1.717 MB / 467 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3041, allocations: 12.03 kB / 467 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.3043, allocations: 118.7 kB / 467.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.3049, allocations: 152.3 kB / 467.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3062, allocations: 0.6811 MB / 467.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3063, allocations: 62.06 kB / 468 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3064, allocations: 64 kB / 468 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3075, allocations: 0.7553 MB / 468.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3075, allocations: 0 / 468.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.3076, allocations: 32 kB / 468.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3076, allocations: 27.98 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3087, allocations: 0.6714 MB / 469.5 MB, free: 15.57 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.00642/0.3151, allocations: 5.224 MB / 474.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3168, allocations: 0.9421 MB / 475.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.3173, allocations: 294.8 kB / 476 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.3173, allocations: 12.64 kB / 476 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.3174, allocations: 39.22 kB / 476 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.595e-06/0.3174, allocations: 0 / 476 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004478/0.3219, allocations: 1.562 MB / 477.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3219, allocations: 60.06 kB / 477.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/0.3227, allocations: 0.5576 MB / 478.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.3228, allocations: 37.7 kB / 478.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.3231, allocations: 364.7 kB / 478.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.3233, allocations: 281.5 kB / 478.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.3235, allocations: 130.6 kB / 479 MB, free: 5.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3238, allocations: 382.7 kB / 479.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3241, allocations: 209.9 kB / 479.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.3246, allocations: 330 kB / 479.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/0.3255, allocations: 0.5875 MB / 480.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.3255, allocations: 4 kB / 480.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001865/0.3273, allocations: 0.9431 MB / 481.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3274, allocations: 11.98 kB / 481.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3274, allocations: 4 kB / 481.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3285, allocations: 311.5 kB / 481.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.3292, allocations: 163.8 kB / 481.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.3344, allocations: 3.381 MB / 485.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.3352, allocations: 47.73 kB / 485.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.3353, allocations: 27.94 kB / 485.4 MB, free: 14.84 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.0003369/0.3356, allocations: 225.6 kB / 485.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3357, allocations: 79.53 kB / 485.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.3375, allocations: 0.8802 MB / 486.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.3375, allocations: 19.86 kB / 486.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3376, allocations: 0 / 486.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3376, allocations: 3.984 kB / 486.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.3405, allocations: 1.917 MB / 488.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3405, allocations: 0 / 488.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.341, allocations: 127.9 kB / 488.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009829/0.342, allocations: 300.5 kB / 488.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3421, allocations: 12 kB / 488.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.3467, allocations: 3.288 MB / 492.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3467, allocations: 0 / 492.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.3485, allocations: 0.9486 MB / 493.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3488, allocations: 228.5 kB / 493.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.3489, allocations: 15.94 kB / 493.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.3494, allocations: 16 kB / 493.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.3496, allocations: 52.58 kB / 493.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3496, allocations: 20 kB / 493.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004994/0.3501, allocations: 394.8 kB / 493.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3501, allocations: 0 / 493.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009408/0.3511, allocations: 331.8 kB / 494.2 MB, free: 5.719 MB / 366.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.002297/0.3534, allocations: 1.563 MB / 495.7 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3551, allocations: 0.9037 MB / 496.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3551, allocations: 3.938 kB / 496.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3561, allocations: 0.6102 MB / 497.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.3568, allocations: 106.3 kB / 497.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00918/0.366, allocations: 6.019 MB / 0.4916 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.3666, allocations: 0.9389 MB / 0.4925 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.367, allocations: 89.31 kB / 0.4926 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.3673, allocations: 255.4 kB / 0.4928 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3673, allocations: 0 / 0.4928 GB, free: 11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05035/0.4177, allocations: 19.86 MB / 0.5122 GB, free: 7.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.22, allocations: 15.92 kB / 0.5122 GB, free: 7.094 MB / 398.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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.csv","/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