Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",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.005083/0.005083, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001065/0.001065, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06298/0.06298, allocations: 14.18 MB / 284.1 MB, free: 13.86 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.001435/0.001435, allocations: 70.05 kB / 396 MB, free: 44.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07518/0.07663, allocations: 50.13 MB / 446.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.008964/0.08563, allocations: 10.01 MB / 456.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006267/0.09194, allocations: 4.395 MB / 460.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.09303, allocations: 23.94 kB / 460.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.09448, allocations: 0.532 MB / 461.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.09947, allocations: 2.021 MB / 463.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1006, allocations: 382.4 kB / 463.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003771/0.1044, allocations: 2.876 MB / 466.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.1049, allocations: 187 kB / 466.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1064, allocations: 0.9769 MB / 467.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.108, allocations: 0.9688 MB / 468.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.1084, allocations: 96 kB / 468.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1096, allocations: 439.7 kB / 469 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.1099, allocations: 242.8 kB / 469.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.1112, allocations: 0.8318 MB / 470.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.1142, allocations: 2.1 MB / 472.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1142, allocations: 0 / 472.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1142, allocations: 7.938 kB / 472.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.732e-05/0.1143, allocations: 0 / 472.2 MB, free: 4.008 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009103/0.1234, allocations: 2.568 MB / 474.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1235, allocations: 15.97 kB / 474.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/0.1237, allocations: 152.9 kB / 474.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.1249, allocations: 227.1 kB / 475.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.127, allocations: 0.9675 MB / 476.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.1271, allocations: 78.12 kB / 476.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1272, allocations: 108 kB / 476.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.1292, allocations: 1.062 MB / 477.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.1292, allocations: 4 kB / 477.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.1293, allocations: 48 kB / 477.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.1294, allocations: 24 kB / 477.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.1312, allocations: 1.027 MB / 478.4 MB, free: 13.56 MB / 366.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.009173/0.1404, allocations: 6.71 MB / 485.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.1429, allocations: 1.466 MB / 486.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.1436, allocations: 407.8 kB / 487 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.7e-05/0.1437, allocations: 17.86 kB / 487 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1438, allocations: 54.44 kB / 487.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.527e-06/0.1438, allocations: 0 / 487.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.003459/0.1472, allocations: 1.684 MB / 488.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1473, allocations: 114.8 kB / 488.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1486, allocations: 0.7825 MB / 489.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.1487, allocations: 41.7 kB / 489.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.149, allocations: 492.1 kB / 490.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.1494, allocations: 406.1 kB / 490.6 MB, free: 436 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.1497, allocations: 178.8 kB / 490.8 MB, free: 252 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1499, allocations: 353.9 kB / 491.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.1505, allocations: 318.5 kB / 491.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.1511, allocations: 484.3 kB / 491.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.1524, allocations: 0.8536 MB / 492.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.1524, allocations: 4 kB / 492.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002317/0.1547, allocations: 1.153 MB / 493.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1548, allocations: 8 kB / 493.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1548, allocations: 8.375 kB / 493.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.1554, allocations: 166.4 kB / 494.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.1567, allocations: 315.6 kB / 494.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.1609, allocations: 4.79 MB / 499.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.162, allocations: 83.47 kB / 499.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1621, allocations: 40 kB / 499.3 MB, free: 7.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005071/0.1627, allocations: 269.6 kB / 499.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.163, allocations: 118.7 kB / 499.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.1652, allocations: 1.14 MB / 0.4891 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.1652, allocations: 12 kB / 0.4891 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1652, allocations: 0 / 0.4891 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1652, allocations: 12.17 kB / 0.4891 GB, free: 5.574 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.004165/0.1694, allocations: 2.836 MB / 0.4919 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/0.1694, allocations: 11.94 kB / 0.4919 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.1705, allocations: 271.6 kB / 0.4921 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.171, allocations: 150.5 kB / 0.4923 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/0.1711, allocations: 20 kB / 0.4923 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.175, allocations: 4.79 MB / 0.497 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.1751, allocations: 8.203 kB / 0.497 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.1771, allocations: 1.305 MB / 0.4983 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000578/0.1777, allocations: 303.5 kB / 0.4986 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.1779, allocations: 20 kB / 0.4986 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.1789, allocations: 43.83 kB / 0.4986 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.179, allocations: 79.78 kB / 0.4987 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.1791, allocations: 28 kB / 0.4987 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007516/0.1799, allocations: 0.5264 MB / 0.4992 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 0.4992 GB, free: 10.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001352/0.1812, allocations: 419.6 kB / 0.4996 GB, free: 10.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/0.1837, allocations: 1.936 MB / 0.5015 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.186, allocations: 1.288 MB / 0.5028 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.186, allocations: 0 / 0.5028 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.1872, allocations: 0.8589 MB / 0.5036 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.1885, allocations: 182 kB / 0.5038 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.202, allocations: 8.166 MB / 0.5118 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.2028, allocations: 1.075 MB / 0.5128 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006716/0.2035, allocations: 147.7 kB / 0.513 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.2042, allocations: 427.3 kB / 0.5134 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2042, allocations: 0 / 0.5134 GB, free: 11.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.4506, allocations: 24.36 MB / 0.5372 GB, free: 82.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.4, allocations: 4 kB / 0.5372 GB, free: 82.4 MB / 414.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches