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.006975/0.006975, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.00184/0.00184, allocations: 193 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06634/0.06634, allocations: 14.18 MB / 284.1 MB, free: 6.98 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.002008/0.002008, allocations: 68.59 kB / 396 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2414, allocations: 50.14 MB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004606/0.246, allocations: 4.304 MB / 450.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.2497, allocations: 2.478 MB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.25, allocations: 11.41 kB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.2507, allocations: 247.5 kB / 453.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.253, allocations: 1.115 MB / 454.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.2535, allocations: 261.7 kB / 454.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.2546, allocations: 0.9576 MB / 455.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.2548, allocations: 81.3 kB / 455.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.2552, allocations: 330.3 kB / 455.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.2556, allocations: 335.3 kB / 456.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.2557, allocations: 33.59 kB / 456.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.2563, allocations: 281.3 kB / 456.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.2564, allocations: 86.88 kB / 456.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.2567, allocations: 287.2 kB / 456.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2577, allocations: 0.818 MB / 457.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2577, allocations: 4 kB / 457.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2578, allocations: 0 / 457.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2578, allocations: 5.375 kB / 457.7 MB, free: 9.223 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.002614/0.2604, allocations: 1.022 MB / 458.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2604, allocations: 9 kB / 458.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.2605, allocations: 74.88 kB / 458.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.2608, allocations: 79.95 kB / 458.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.2616, allocations: 446.6 kB / 459.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2617, allocations: 28.28 kB / 459.4 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.2617, allocations: 45.5 kB / 459.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.2624, allocations: 378.8 kB / 459.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2624, allocations: 1.281 kB / 459.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.2624, allocations: 14.25 kB / 459.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2624, allocations: 9.125 kB / 459.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.263, allocations: 350.4 kB / 460.2 MB, free: 7.465 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.003265/0.2663, allocations: 2.389 MB / 462.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2674, allocations: 0.5652 MB / 463.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2676, allocations: 139.9 kB / 463.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.2677, allocations: 5.312 kB / 463.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2677, allocations: 36.75 kB / 463.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.023e-06/0.2677, allocations: 0 / 463.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002374/0.2701, allocations: 0.8154 MB / 464.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2701, allocations: 55.09 kB / 464.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.2706, allocations: 347.1 kB / 464.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2706, allocations: 32.08 kB / 464.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.2708, allocations: 203.1 kB / 464.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.2709, allocations: 145.4 kB / 464.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.271, allocations: 68.5 kB / 464.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2712, allocations: 346.7 kB / 465.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2714, allocations: 107.2 kB / 465.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2717, allocations: 134 kB / 465.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.2721, allocations: 269.1 kB / 465.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2721, allocations: 3.938 kB / 465.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001085/0.2732, allocations: 478.6 kB / 466.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2732, allocations: 8 kB / 466.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2733, allocations: 0 / 466.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.274, allocations: 168.5 kB / 466.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.2743, allocations: 71.95 kB / 466.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.2774, allocations: 2.253 MB / 468.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.2778, allocations: 23.89 kB / 468.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2778, allocations: 7.984 kB / 468.8 MB, free: 15.74 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.0001893/0.278, allocations: 161.8 kB / 468.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.2781, allocations: 55.72 kB / 469 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.2793, allocations: 0.5143 MB / 469.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2793, allocations: 4 kB / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2793, allocations: 0 / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2793, allocations: 4 kB / 469.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.2812, allocations: 1.197 MB / 470.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2812, allocations: 0 / 470.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.2816, allocations: 75.89 kB / 470.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/0.2822, allocations: 160.6 kB / 470.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.2822, allocations: 4 kB / 470.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.285, allocations: 2.188 MB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.285, allocations: 0 / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2862, allocations: 0.5829 MB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.2864, allocations: 156.8 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.2864, allocations: 11.94 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.2868, allocations: 19.92 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.2869, allocations: 27.97 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.2869, allocations: 15.98 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.2872, allocations: 243.2 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2872, allocations: 4 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000555/0.2877, allocations: 175.8 kB / 474.3 MB, free: 9.883 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.00157/0.2893, allocations: 1.178 MB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2904, allocations: 498.3 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2904, allocations: 0 / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.291, allocations: 386.4 kB / 476.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.2916, allocations: 72.2 kB / 476.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.2971, allocations: 3.665 MB / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.2976, allocations: 0.8207 MB / 480.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.2978, allocations: 35.27 kB / 481 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.298, allocations: 139.4 kB / 481.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.298, allocations: 4 kB / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.3373, allocations: 11.51 MB / 492.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.67, allocations: 8.969 kB / 492.6 MB, free: 7.422 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