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.01071/0.01071, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.002314/0.002314, allocations: 189 kB / 16.68 MB, free: 6.367 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.496/1.496, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06411/0.06411, allocations: 14.17 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.001702/0.001702, allocations: 76.09 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2943, allocations: 50.13 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004989/0.2994, allocations: 4.317 MB / 450.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.3035, allocations: 2.47 MB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.3038, allocations: 14.81 kB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.3046, allocations: 251.2 kB / 453.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.307, allocations: 1.132 MB / 454.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.3076, allocations: 262.8 kB / 454.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.3089, allocations: 0.9543 MB / 455.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.3092, allocations: 84.16 kB / 455.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.3098, allocations: 336.2 kB / 455.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.3103, allocations: 335.8 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.3104, allocations: 34.5 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008208/0.3113, allocations: 281.1 kB / 456.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.3114, allocations: 85.53 kB / 456.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.3117, allocations: 288.2 kB / 456.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.3132, allocations: 0.8255 MB / 457.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3132, allocations: 0 / 457.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.3132, allocations: 1.031 kB / 457.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3133, allocations: 3.938 kB / 457.8 MB, free: 9.203 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.00287/0.3161, allocations: 1.022 MB / 458.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.3162, allocations: 13.62 kB / 458.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.3163, allocations: 75.06 kB / 458.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.3167, allocations: 80.2 kB / 459 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.3178, allocations: 442 kB / 459.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.3179, allocations: 30.94 kB / 459.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.3179, allocations: 39.81 kB / 459.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3187, allocations: 374 kB / 459.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3187, allocations: 1.344 kB / 459.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.3187, allocations: 14.19 kB / 459.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3188, allocations: 8.812 kB / 459.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.3194, allocations: 349.9 kB / 460.2 MB, free: 7.453 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.003338/0.3228, allocations: 2.39 MB / 462.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3238, allocations: 0.5606 MB / 463.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3241, allocations: 145.4 kB / 463.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3242, allocations: 4.375 kB / 463.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3242, allocations: 40.75 kB / 463.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.3242, allocations: 0 / 463.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002479/0.3267, allocations: 0.816 MB / 464.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3268, allocations: 54.53 kB / 464.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.3272, allocations: 347.5 kB / 464.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3272, allocations: 35.14 kB / 464.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3274, allocations: 200.4 kB / 464.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3275, allocations: 147.8 kB / 464.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3276, allocations: 60.66 kB / 465 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3278, allocations: 348.2 kB / 465.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.328, allocations: 106.7 kB / 465.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3283, allocations: 142.3 kB / 465.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.3287, allocations: 260.5 kB / 465.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3288, allocations: 5.156 kB / 465.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001123/0.3299, allocations: 478.7 kB / 466.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3299, allocations: 4 kB / 466.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3299, allocations: 3.938 kB / 466.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.3307, allocations: 172.5 kB / 466.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.331, allocations: 76.14 kB / 466.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.3339, allocations: 2.245 MB / 468.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.3344, allocations: 19.89 kB / 468.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3345, allocations: 19.98 kB / 468.8 MB, free: 15.73 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.0002381/0.3347, allocations: 161.8 kB / 469 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3348, allocations: 43.72 kB / 469 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.336, allocations: 0.5143 MB / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.336, allocations: 4 kB / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.336, allocations: 0 / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3361, allocations: 0 / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.338, allocations: 1.201 MB / 470.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.338, allocations: 0 / 470.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.3384, allocations: 79.89 kB / 470.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000637/0.339, allocations: 156.6 kB / 471 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.339, allocations: 4 kB / 471 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.3417, allocations: 2.196 MB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3417, allocations: 0 / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3429, allocations: 0.5868 MB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3432, allocations: 156.8 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.3432, allocations: 7.938 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.3436, allocations: 23.92 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.3437, allocations: 31.97 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3437, allocations: 7.984 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.344, allocations: 247.2 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.344, allocations: 0 / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006202/0.3447, allocations: 175.8 kB / 474.4 MB, free: 9.875 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.001553/0.3462, allocations: 1.178 MB / 475.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3473, allocations: 0.4982 MB / 476.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3473, allocations: 0 / 476.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.348, allocations: 382.3 kB / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.3486, allocations: 64.69 kB / 476.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.3546, allocations: 3.661 MB / 480.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.3552, allocations: 0.8168 MB / 481 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.3554, allocations: 47.25 kB / 481 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.3557, allocations: 139.4 kB / 481.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3557, allocations: 0 / 481.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.3901, allocations: 11.5 MB / 492.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.51, allocations: 12.97 kB / 492.7 MB, free: 7.414 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