Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.008131/0.008131, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001935/0.001935, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.45/1.45, allocations: 205.1 MB / 222.6 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06819/0.06819, allocations: 14.16 MB / 284.1 MB, free: 6.859 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.00223/0.00223, allocations: 67.91 kB / 396 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2677, allocations: 50.15 MB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.007586/0.2754, allocations: 7.285 MB / 453.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.2815, allocations: 3.536 MB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.2823, allocations: 18.38 kB / 457 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2834, allocations: 427.7 kB / 457.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.2872, allocations: 1.56 MB / 459 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2883, allocations: 0.5786 MB / 459.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.2907, allocations: 1.842 MB / 461.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.291, allocations: 128.8 kB / 461.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009022/0.2919, allocations: 0.6146 MB / 462.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007862/0.2927, allocations: 0.637 MB / 462.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.049e-05/0.2928, allocations: 62.38 kB / 462.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2938, allocations: 430.3 kB / 463.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.294, allocations: 152.7 kB / 463.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.2945, allocations: 0.5469 MB / 463.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.2965, allocations: 1.518 MB / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2966, allocations: 1.062 kB / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2966, allocations: 0 / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2966, allocations: 0 / 465.5 MB, free: 3.469 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005374/0.302, allocations: 1.764 MB / 467.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.302, allocations: 16.03 kB / 467.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.3022, allocations: 118.8 kB / 467.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.3028, allocations: 152.2 kB / 467.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.3041, allocations: 0.685 MB / 468.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.3042, allocations: 62.12 kB / 468.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.3043, allocations: 68 kB / 468.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3055, allocations: 0.7693 MB / 469.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3055, allocations: 0 / 469.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.3056, allocations: 28.08 kB / 469.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3056, allocations: 19.94 kB / 469.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.3068, allocations: 0.7104 MB / 469.8 MB, free: 15.24 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.006557/0.3133, allocations: 5.11 MB / 474.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.3151, allocations: 0.9511 MB / 475.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.3155, allocations: 310.7 kB / 476.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.3156, allocations: 8.656 kB / 476.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3156, allocations: 43.16 kB / 476.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.3157, allocations: 0 / 476.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.002969/0.3186, allocations: 1.253 MB / 477.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3187, allocations: 60.06 kB / 477.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.3195, allocations: 0.5459 MB / 478.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.3195, allocations: 41.7 kB / 478.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3198, allocations: 376.6 kB / 478.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.3201, allocations: 277.5 kB / 478.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.3203, allocations: 138.6 kB / 478.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.3205, allocations: 374.8 kB / 479.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.3209, allocations: 217.9 kB / 479.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.3214, allocations: 336.3 kB / 479.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.3223, allocations: 0.5898 MB / 480.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3223, allocations: 0 / 480.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001633/0.3239, allocations: 0.8684 MB / 481.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.324, allocations: 4 kB / 481.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.324, allocations: 7.984 kB / 481.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.3246, allocations: 181 kB / 481.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.3254, allocations: 195.8 kB / 481.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.3291, allocations: 2.552 MB / 484.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3301, allocations: 47.73 kB / 484.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.3302, allocations: 28 kB / 484.3 MB, free: 15.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004877/0.3307, allocations: 225.7 kB / 484.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.3309, allocations: 75.53 kB / 484.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.3325, allocations: 0.8101 MB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3325, allocations: 8 kB / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3325, allocations: 0 / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3326, allocations: 7.984 kB / 485.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.3354, allocations: 1.858 MB / 487.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3354, allocations: 0 / 487.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.3361, allocations: 167.8 kB / 487.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.3366, allocations: 168.5 kB / 487.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.3366, allocations: 16 kB / 487.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.3399, allocations: 2.544 MB / 490.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3399, allocations: 0 / 490.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3414, allocations: 0.863 MB / 491 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.3418, allocations: 228.5 kB / 491.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.3419, allocations: 16 kB / 491.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.3424, allocations: 20 kB / 491.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.3425, allocations: 56.52 kB / 491.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.3426, allocations: 16 kB / 491.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.3431, allocations: 386.8 kB / 491.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3431, allocations: 0 / 491.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00095/0.3441, allocations: 311.8 kB / 492 MB, free: 7.875 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 (63): * Single equations (assignments): 62 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/0.346, allocations: 1.485 MB / 493.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3475, allocations: 0.8026 MB / 494.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3475, allocations: 0.625 kB / 494.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.3483, allocations: 0.5137 MB / 494.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.349, allocations: 120.9 kB / 495 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008755/0.3578, allocations: 5.821 MB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.3585, allocations: 0.9425 MB / 0.49 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.3589, allocations: 89.31 kB / 0.49 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.3593, allocations: 275.3 kB / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3593, allocations: 0 / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.4109, allocations: 17.36 MB / 0.5073 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 7.609 kB / 0.5073 GB, free: 12.21 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_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_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches