Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.006527/0.006527, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001528/0.001528, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06481/0.06481, allocations: 14.16 MB / 284.1 MB, free: 6.992 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.001587/0.001587, allocations: 71.91 kB / 396 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3086, allocations: 50.14 MB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006777/0.3155, allocations: 7.158 MB / 453.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.3213, allocations: 3.523 MB / 456.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.3222, allocations: 21.16 kB / 456.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3234, allocations: 410.4 kB / 457.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.3276, allocations: 1.607 MB / 458.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3288, allocations: 0.5705 MB / 459.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.3317, allocations: 1.827 MB / 461.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.3321, allocations: 131.2 kB / 461.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.3333, allocations: 0.6209 MB / 462 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3348, allocations: 0.6327 MB / 462.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.3351, allocations: 61.47 kB / 462.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.3371, allocations: 420.6 kB / 463.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3374, allocations: 160 kB / 463.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.3387, allocations: 0.5399 MB / 463.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.3413, allocations: 1.486 MB / 465.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3413, allocations: 3.938 kB / 465.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3413, allocations: 1.562 kB / 465.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.3413, allocations: 0 / 465.3 MB, free: 3.594 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.005705/0.347, allocations: 1.723 MB / 467 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3471, allocations: 8.031 kB / 467 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.3473, allocations: 118.7 kB / 467.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.348, allocations: 148.3 kB / 467.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.3497, allocations: 0.6772 MB / 468 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.3498, allocations: 54.12 kB / 468 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3499, allocations: 75.98 kB / 468.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3513, allocations: 0.7592 MB / 468.8 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3514, allocations: 0 / 468.8 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.3514, allocations: 32 kB / 468.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3514, allocations: 16 kB / 468.9 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3527, allocations: 0.6714 MB / 469.6 MB, free: 15.51 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.008974/0.3616, allocations: 5.231 MB / 474.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3634, allocations: 0.9421 MB / 475.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.3639, allocations: 298.7 kB / 476 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.3639, allocations: 8.656 kB / 476 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.364, allocations: 43.22 kB / 476.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.376e-06/0.364, allocations: 0 / 476.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004688/0.3687, allocations: 1.562 MB / 477.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3687, allocations: 60.06 kB / 477.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.3696, allocations: 0.5537 MB / 478.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.3697, allocations: 37.7 kB / 478.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.37, allocations: 368.6 kB / 478.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.3703, allocations: 285.5 kB / 478.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.3705, allocations: 130.6 kB / 479 MB, free: 5.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3707, allocations: 370.8 kB / 479.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.3711, allocations: 209.9 kB / 479.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.3716, allocations: 338 kB / 479.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.3724, allocations: 0.5836 MB / 480.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3724, allocations: 0 / 480.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001944/0.3744, allocations: 0.947 MB / 481.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3744, allocations: 4.312 kB / 481.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3745, allocations: 8 kB / 481.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3756, allocations: 303.1 kB / 481.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.3763, allocations: 163.8 kB / 481.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.3815, allocations: 3.335 MB / 485.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/0.3824, allocations: 47.73 kB / 485.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.3824, allocations: 28 kB / 485.4 MB, free: 14.82 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.3828, allocations: 229.6 kB / 485.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.3831, allocations: 79.47 kB / 485.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.3848, allocations: 0.888 MB / 486.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3849, allocations: 7.938 kB / 486.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3849, allocations: 4 kB / 486.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3849, allocations: 7.984 kB / 486.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.3881, allocations: 1.905 MB / 488.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3881, allocations: 0 / 488.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.3886, allocations: 127.9 kB / 488.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.3897, allocations: 293 kB / 488.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.3897, allocations: 12 kB / 488.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/0.3942, allocations: 3.264 MB / 492.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3943, allocations: 3.938 kB / 492.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3961, allocations: 0.9409 MB / 493.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.3966, allocations: 224.5 kB / 493.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3968, allocations: 15.98 kB / 493.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.3974, allocations: 31.88 kB / 493.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3976, allocations: 52.58 kB / 493.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3976, allocations: 20 kB / 493.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.3981, allocations: 386.8 kB / 493.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3981, allocations: 0 / 493.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001094/0.3992, allocations: 331.8 kB / 494.1 MB, free: 5.742 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/0.4021, allocations: 1.562 MB / 495.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4046, allocations: 0.8723 MB / 496.6 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.4047, allocations: 0 / 496.6 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.4063, allocations: 0.5868 MB / 497.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.4079, allocations: 102.3 kB / 497.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.4234, allocations: 6.022 MB / 0.4915 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/0.4242, allocations: 0.935 MB / 0.4924 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.4249, allocations: 89.31 kB / 0.4925 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/0.4255, allocations: 259.3 kB / 0.4927 GB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4255, allocations: 0 / 0.4927 GB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.4757, allocations: 19.79 MB / 0.5121 GB, free: 7.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.81, allocations: 0 / 0.5121 GB, free: 7.25 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_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_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches