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.001528/0.001528, allocations: 108 kB / 15.61 MB, free: 152 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.001777/0.001777, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06547/0.06547, allocations: 14.16 MB / 283.9 MB, free: 7.074 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.001651/0.001651, allocations: 72.45 kB / 345.2 MB, free: 19.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09266, allocations: 50.12 MB / 395.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.00969/0.1024, allocations: 10.01 MB / 405.3 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006519/0.109, allocations: 4.406 MB / 409.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1102, allocations: 23.94 kB / 409.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.1117, allocations: 0.5242 MB / 410.3 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.1163, allocations: 1.944 MB / 412.2 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.1172, allocations: 374.5 kB / 412.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.1203, allocations: 2.86 MB / 415.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.1207, allocations: 192.2 kB / 415.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.122, allocations: 0.9495 MB / 416.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1233, allocations: 0.9571 MB / 417.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.1236, allocations: 100 kB / 417.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1248, allocations: 443.7 kB / 418.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.125, allocations: 246.8 kB / 418.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.1261, allocations: 0.8163 MB / 419.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.1287, allocations: 2.002 MB / 421.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1287, allocations: 0 / 421.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1287, allocations: 0 / 421.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.532e-05/0.1288, allocations: 4 kB / 421.1 MB, free: 7.207 MB / 318.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.009275/0.138, allocations: 2.591 MB / 423.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.1381, allocations: 15.97 kB / 423.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.1383, allocations: 156.9 kB / 423.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1394, allocations: 227.1 kB / 424.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.1411, allocations: 0.9479 MB / 425.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.1412, allocations: 78.12 kB / 425.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1413, allocations: 104 kB / 425.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.143, allocations: 1.062 MB / 426.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.143, allocations: 0 / 426.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.1431, allocations: 48 kB / 426.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1432, allocations: 27.94 kB / 426.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.1448, allocations: 1.031 MB / 427.4 MB, free: 0.7539 MB / 318.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.1651/0.3099, allocations: 6.733 MB / 434.1 MB, free: 32.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.3122, allocations: 1.463 MB / 435.6 MB, free: 31.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.3128, allocations: 408.8 kB / 436 MB, free: 31.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/0.3129, allocations: 16.11 kB / 436 MB, free: 31.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3129, allocations: 51.42 kB / 436.1 MB, free: 31.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.3129, allocations: 0 / 436.1 MB, free: 31.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003222/0.3161, allocations: 1.692 MB / 437.7 MB, free: 30.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3162, allocations: 115.5 kB / 437.9 MB, free: 30.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3173, allocations: 0.7746 MB / 438.6 MB, free: 30.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3174, allocations: 42.41 kB / 438.7 MB, free: 30.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.3177, allocations: 497.5 kB / 439.2 MB, free: 30.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.318, allocations: 408.8 kB / 439.6 MB, free: 29.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.3183, allocations: 182.5 kB / 439.7 MB, free: 29.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.3183, allocations: 342.8 kB / 440.1 MB, free: 29.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.3189, allocations: 320.1 kB / 440.4 MB, free: 29.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.3196, allocations: 484.4 kB / 440.9 MB, free: 28.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3208, allocations: 0.8688 MB / 441.7 MB, free: 28.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3208, allocations: 2.125 kB / 441.7 MB, free: 28.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002008/0.3228, allocations: 1.155 MB / 442.9 MB, free: 27.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.3228, allocations: 8.391 kB / 442.9 MB, free: 27.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3229, allocations: 3.906 kB / 442.9 MB, free: 27.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.3235, allocations: 162.2 kB / 443.1 MB, free: 27.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3248, allocations: 306.4 kB / 443.4 MB, free: 27.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.328, allocations: 4.801 MB / 448.2 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3292, allocations: 74.33 kB / 448.2 MB, free: 23.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.3292, allocations: 41.69 kB / 448.3 MB, free: 23.23 MB / 318.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.000422/0.3297, allocations: 277.5 kB / 448.5 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.3299, allocations: 117.7 kB / 448.7 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3319, allocations: 1.138 MB / 449.8 MB, free: 22.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3319, allocations: 12.38 kB / 449.8 MB, free: 22.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3319, allocations: 4.844 kB / 449.8 MB, free: 22.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.332, allocations: 5.297 kB / 449.8 MB, free: 22.41 MB / 318.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.003529/0.3355, allocations: 2.844 MB / 452.7 MB, free: 20.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3355, allocations: 1.922 kB / 452.7 MB, free: 20.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.3366, allocations: 275.4 kB / 452.9 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/0.337, allocations: 153.7 kB / 453.1 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.3371, allocations: 21.5 kB / 453.1 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.3401, allocations: 4.795 MB / 457.9 MB, free: 16.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3401, allocations: 2.188 kB / 457.9 MB, free: 16.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.342, allocations: 1.308 MB / 459.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.3424, allocations: 295.1 kB / 459.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.3425, allocations: 27.95 kB / 459.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.3434, allocations: 51.58 kB / 459.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3435, allocations: 71.52 kB / 459.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.3436, allocations: 31.56 kB / 459.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005722/0.3441, allocations: 0.5313 MB / 460.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3442, allocations: 0 / 460.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00118/0.3453, allocations: 410.9 kB / 460.6 MB, free: 14.61 MB / 318.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.001886/0.3472, allocations: 1.944 MB / 462.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.3496, allocations: 1.324 MB / 463.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3496, allocations: 0 / 463.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3507, allocations: 0.8663 MB / 464.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3519, allocations: 188 kB / 464.9 MB, free: 11.69 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.3637, allocations: 8.696 MB / 473.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3642, allocations: 1.071 MB / 474.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007655/0.365, allocations: 145 kB / 474.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.3655, allocations: 423.3 kB / 475.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3655, allocations: 0 / 475.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/0.4232, allocations: 23.96 MB / 499.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/9.738, allocations: 15.41 kB / 499.2 MB, free: 9.211 MB / 350.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