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.008096/0.008096, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001284/0.001285, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.472/1.472, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06484/0.06484, allocations: 14.17 MB / 284.1 MB, free: 6.973 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.001721/0.001721, allocations: 64.12 kB / 396 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3084, allocations: 50.15 MB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.008163/0.3167, allocations: 7.164 MB / 453.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006739/0.3235, allocations: 3.523 MB / 456.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3247, allocations: 17.03 kB / 456.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3261, allocations: 414.3 kB / 457.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.3311, allocations: 1.617 MB / 458.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3324, allocations: 0.5636 MB / 459.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.3354, allocations: 1.826 MB / 461.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.3358, allocations: 124.2 kB / 461.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.337, allocations: 0.616 MB / 462 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.3382, allocations: 0.6374 MB / 462.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.3385, allocations: 65.25 kB / 462.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.3403, allocations: 425.2 kB / 463.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.3405, allocations: 156 kB / 463.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.3416, allocations: 0.5398 MB / 463.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.3454, allocations: 1.485 MB / 465.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.3454, allocations: 7.938 kB / 465.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3454, allocations: 3.938 kB / 465.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.59e-05/0.3455, allocations: 1.469 kB / 465.3 MB, free: 3.484 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.006982/0.3525, allocations: 1.713 MB / 467 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3526, allocations: 12.03 kB / 467 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.3527, allocations: 118.7 kB / 467.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.3534, allocations: 152.3 kB / 467.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.3552, allocations: 0.6772 MB / 468 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.3553, allocations: 58.12 kB / 468 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3554, allocations: 68 kB / 468.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.3568, allocations: 0.7553 MB / 468.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3569, allocations: 0 / 468.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.3569, allocations: 32 kB / 468.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.357, allocations: 20 kB / 468.9 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3581, allocations: 0.6752 MB / 469.6 MB, free: 15.38 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.007156/0.3653, allocations: 5.231 MB / 474.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3671, allocations: 0.9421 MB / 475.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.3675, allocations: 290.8 kB / 476 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.3676, allocations: 8.656 kB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3676, allocations: 43.22 kB / 476.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.516e-06/0.3676, allocations: 0 / 476.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004708/0.3724, allocations: 1.562 MB / 477.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3724, allocations: 64.06 kB / 477.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.3732, allocations: 0.5576 MB / 478.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3733, allocations: 37.7 kB / 478.3 MB, free: 6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.3735, allocations: 360.7 kB / 478.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3738, allocations: 285.5 kB / 478.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.374, allocations: 130.6 kB / 479.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3741, allocations: 374.8 kB / 479.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.3745, allocations: 209.9 kB / 479.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.3749, allocations: 334 kB / 480 MB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008285/0.3758, allocations: 0.5836 MB / 480.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3758, allocations: 4 kB / 480.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002053/0.3778, allocations: 0.947 MB / 481.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3779, allocations: 8 kB / 481.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3779, allocations: 7.938 kB / 481.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.3791, allocations: 315.5 kB / 481.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.3798, allocations: 163.8 kB / 482 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.3851, allocations: 3.377 MB / 485.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.3861, allocations: 51.72 kB / 485.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.3862, allocations: 28 kB / 485.4 MB, free: 14.64 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.0003667/0.3866, allocations: 225.6 kB / 485.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.3867, allocations: 79.53 kB / 485.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.3886, allocations: 0.8802 MB / 486.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3887, allocations: 15.88 kB / 486.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3887, allocations: 0 / 486.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3887, allocations: 3.984 kB / 486.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.392, allocations: 1.921 MB / 488.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.392, allocations: 0 / 488.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.3926, allocations: 119.9 kB / 488.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.3936, allocations: 304.5 kB / 489 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.3936, allocations: 19.94 kB / 489 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.3983, allocations: 3.284 MB / 492.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3983, allocations: 0 / 492.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4003, allocations: 0.9487 MB / 493.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.4009, allocations: 224.5 kB / 493.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4011, allocations: 19.94 kB / 493.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.4017, allocations: 16 kB / 493.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4018, allocations: 52.58 kB / 493.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.4019, allocations: 16 kB / 493.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005544/0.4024, allocations: 394.8 kB / 493.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 7.938 kB / 493.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4035, allocations: 331.8 kB / 494.3 MB, free: 5.516 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.002185/0.4057, allocations: 1.551 MB / 495.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.4075, allocations: 0.9115 MB / 496.7 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4075, allocations: 3.938 kB / 496.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4086, allocations: 0.6102 MB / 497.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.4095, allocations: 106.3 kB / 497.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009371/0.4189, allocations: 6.015 MB / 0.4917 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.4194, allocations: 0.9389 MB / 0.4926 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.4198, allocations: 81.31 kB / 0.4926 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.4202, allocations: 263.3 kB / 0.4929 GB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4202, allocations: 4 kB / 0.4929 GB, free: 10.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.4731, allocations: 19.86 MB / 0.5123 GB, free: 6.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.06, allocations: 19.92 kB / 0.5123 GB, free: 6.895 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