Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.006412/0.006413, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001439/0.001439, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06233/0.06233, allocations: 14.17 MB / 284.1 MB, free: 6.977 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.002439/0.002439, allocations: 68.12 kB / 396 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2513, allocations: 50.14 MB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004743/0.2561, allocations: 4.305 MB / 450.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2595, allocations: 2.478 MB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.2598, allocations: 11 kB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.2604, allocations: 247.5 kB / 453.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.2627, allocations: 1.148 MB / 454.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.2632, allocations: 257.3 kB / 454.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.2643, allocations: 0.9583 MB / 455.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2644, allocations: 76.92 kB / 455.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/0.2649, allocations: 336.5 kB / 455.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.2653, allocations: 338.6 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.2653, allocations: 34.88 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.266, allocations: 280.4 kB / 456.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.266, allocations: 87.16 kB / 456.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.2663, allocations: 287.6 kB / 456.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2673, allocations: 0.8133 MB / 457.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2674, allocations: 1.094 kB / 457.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2674, allocations: 0 / 457.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2674, allocations: 0 / 457.8 MB, free: 9.215 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002507/0.2699, allocations: 1.031 MB / 458.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2699, allocations: 12.31 kB / 458.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.27, allocations: 78.19 kB / 458.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.2703, allocations: 81.05 kB / 459 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.2711, allocations: 446.6 kB / 459.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2711, allocations: 27.25 kB / 459.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2712, allocations: 39.47 kB / 459.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.2718, allocations: 373.7 kB / 459.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2718, allocations: 3.938 kB / 459.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.2718, allocations: 16.12 kB / 459.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2718, allocations: 12.22 kB / 459.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.2724, allocations: 349.8 kB / 460.2 MB, free: 7.445 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.002998/0.2755, allocations: 2.386 MB / 462.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009749/0.2764, allocations: 0.5577 MB / 463.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.2767, allocations: 143.8 kB / 463.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.2768, allocations: 4.688 kB / 463.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2768, allocations: 41.75 kB / 463.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.2768, allocations: 0 / 463.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002379/0.2792, allocations: 0.8151 MB / 464.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2792, allocations: 56.16 kB / 464.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.2796, allocations: 345.6 kB / 464.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.2797, allocations: 32.02 kB / 464.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2798, allocations: 203.6 kB / 464.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.28, allocations: 145 kB / 464.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2801, allocations: 63.81 kB / 465 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2803, allocations: 346.8 kB / 465.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.2805, allocations: 113.2 kB / 465.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2808, allocations: 132.2 kB / 465.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.2813, allocations: 269.9 kB / 465.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2813, allocations: 5.031 kB / 465.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001131/0.2824, allocations: 482 kB / 466.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2824, allocations: 4 kB / 466.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.2825, allocations: 4 kB / 466.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.2832, allocations: 164.6 kB / 466.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.2835, allocations: 71.89 kB / 466.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.2865, allocations: 2.254 MB / 468.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.2869, allocations: 23.89 kB / 468.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2869, allocations: 11.98 kB / 468.8 MB, free: 15.71 MB / 350.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 (31): * Single equations (assignments): 30 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.2872, allocations: 165.7 kB / 469 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2873, allocations: 47.72 kB / 469 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.2885, allocations: 0.5104 MB / 469.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2885, allocations: 8 kB / 469.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2885, allocations: 0 / 469.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2885, allocations: 0 / 469.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2904, allocations: 1.197 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2904, allocations: 0 / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.2908, allocations: 79.89 kB / 470.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006579/0.2914, allocations: 160.6 kB / 471 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2915, allocations: 4 kB / 471 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.2941, allocations: 2.184 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2942, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2954, allocations: 0.5867 MB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.2956, allocations: 156.8 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.2957, allocations: 15.94 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.2961, allocations: 19.92 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.2962, allocations: 27.97 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.2962, allocations: 15.98 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.2965, allocations: 243.2 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2965, allocations: 0 / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.2972, allocations: 175.8 kB / 474.4 MB, free: 9.859 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.2987, allocations: 1.182 MB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2999, allocations: 498.3 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2999, allocations: 3.938 kB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.3005, allocations: 382.3 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.3011, allocations: 72.25 kB / 476.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/0.3065, allocations: 3.661 MB / 480.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.307, allocations: 0.8168 MB / 481 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.3072, allocations: 43.27 kB / 481 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3074, allocations: 139.4 kB / 481.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3074, allocations: 0 / 481.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.3398, allocations: 11.51 MB / 492.7 MB, free: 7.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.25, allocations: 8.969 kB / 492.7 MB, free: 7.398 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches