Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.001739/0.001739, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 194.5 kB / 16.67 MB, free: 6.582 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.38/1.38, allocations: 205.1 MB / 222.5 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.06585/0.06585, allocations: 14.16 MB / 284.1 MB, free: 7.02 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.003164/0.003164, allocations: 79.88 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2716, allocations: 50.14 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.00448/0.2761, allocations: 4.176 MB / 450.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.2797, allocations: 2.455 MB / 452.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.2799, allocations: 10.81 kB / 452.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.2806, allocations: 243.3 kB / 453 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.2829, allocations: 1.107 MB / 454.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.2834, allocations: 241.2 kB / 454.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2845, allocations: 0.9349 MB / 455.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2846, allocations: 71.44 kB / 455.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.285, allocations: 319.3 kB / 455.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.2854, allocations: 316.8 kB / 456 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.2855, allocations: 31.41 kB / 456 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.286, allocations: 277.2 kB / 456.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.2861, allocations: 77.94 kB / 456.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.2864, allocations: 273.2 kB / 456.6 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.2874, allocations: 0.791 MB / 457.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2874, allocations: 5.188 kB / 457.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2874, allocations: 0 / 457.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2874, allocations: 0 / 457.4 MB, free: 9.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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002475/0.2899, allocations: 0.9748 MB / 458.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2899, allocations: 10.69 kB / 458.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.29, allocations: 73 kB / 458.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.2904, allocations: 78.42 kB / 458.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.2911, allocations: 434.6 kB / 459 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.2912, allocations: 30.34 kB / 459 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.2912, allocations: 33.66 kB / 459 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.2918, allocations: 350.5 kB / 459.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2918, allocations: 3.938 kB / 459.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.2918, allocations: 24.2 kB / 459.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2919, allocations: 7.344 kB / 459.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.2923, allocations: 309.7 kB / 459.7 MB, free: 7.785 MB / 334.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.003026/0.2954, allocations: 2.319 MB / 462 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009765/0.2964, allocations: 0.5346 MB / 462.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2966, allocations: 120.9 kB / 462.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.2966, allocations: 8.703 kB / 462.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2967, allocations: 40.59 kB / 462.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2967, allocations: 1.094 kB / 462.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.002179/0.2988, allocations: 0.7447 MB / 463.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2989, allocations: 56 kB / 463.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.2993, allocations: 335.4 kB / 463.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2994, allocations: 35.89 kB / 463.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2995, allocations: 197.8 kB / 464.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2997, allocations: 136.3 kB / 464.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.2998, allocations: 64.11 kB / 464.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3, allocations: 349.9 kB / 464.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3001, allocations: 88.34 kB / 464.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3003, allocations: 126.4 kB / 464.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.3007, allocations: 230 kB / 465.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3007, allocations: 3.938 kB / 465.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009913/0.3017, allocations: 452.2 kB / 465.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3017, allocations: 5.25 kB / 465.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3017, allocations: 0 / 465.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007167/0.3024, allocations: 166.4 kB / 465.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.3027, allocations: 65.75 kB / 465.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.306, allocations: 2.253 MB / 468 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.3063, allocations: 31.88 kB / 468 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3063, allocations: 4 kB / 468 MB, free: 0.5273 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.3065, allocations: 161.8 kB / 468.2 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.3066, allocations: 39.77 kB / 468.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3077, allocations: 470.9 kB / 468.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3077, allocations: 7.938 kB / 468.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3077, allocations: 0 / 468.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3077, allocations: 0 / 468.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.3095, allocations: 1.118 MB / 469.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3095, allocations: 0 / 469.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.3098, allocations: 67.89 kB / 469.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006392/0.3104, allocations: 153 kB / 470 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3104, allocations: 8 kB / 470 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/0.3133, allocations: 2.207 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3134, allocations: 0 / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3144, allocations: 0.5283 MB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3146, allocations: 148.8 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.3147, allocations: 16.05 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.315, allocations: 15.92 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.315, allocations: 27.97 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3151, allocations: 4 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.3153, allocations: 243 kB / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3153, allocations: 0 / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005563/0.3159, allocations: 159.8 kB / 473.4 MB, free: 10.9 MB / 350.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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.3174, allocations: 1.111 MB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.3184, allocations: 486.8 kB / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3184, allocations: 0 / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.319, allocations: 378 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.3195, allocations: 61.41 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.3247, allocations: 3.477 MB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.3252, allocations: 0.804 MB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3253, allocations: 42.95 kB / 479.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3255, allocations: 123.4 kB / 479.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3255, allocations: 0 / 479.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.3638, allocations: 10.9 MB / 490.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 15.06 kB / 490.8 MB, free: 9.324 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_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_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches