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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 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.001999/0.001999, allocations: 198 kB / 16.54 MB, free: 6.672 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.408/1.408, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06373/0.06373, allocations: 14.17 MB / 283.9 MB, free: 7.082 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.001459/0.001459, allocations: 72.11 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08852, allocations: 50.13 MB / 395.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.009153/0.09771, allocations: 10.01 MB / 405.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.1046, allocations: 4.394 MB / 409.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.1059, allocations: 27.88 kB / 409.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1073, allocations: 0.5204 MB / 410.3 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.112, allocations: 1.958 MB / 412.2 MB, free: 160 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.1129, allocations: 371 kB / 412.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.1164, allocations: 2.875 MB / 415.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.1169, allocations: 176.2 kB / 415.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.1184, allocations: 0.9574 MB / 416.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.12, allocations: 0.961 MB / 417.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.1204, allocations: 96 kB / 417.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1219, allocations: 435.7 kB / 418.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.1222, allocations: 246.8 kB / 418.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1235, allocations: 0.8202 MB / 419.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.1262, allocations: 1.998 MB / 421.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1262, allocations: 0 / 421.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1262, allocations: 3.984 kB / 421.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.728e-05/0.1263, allocations: 0 / 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.009658/0.136, allocations: 2.595 MB / 423.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.136, allocations: 8.031 kB / 423.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.1363, allocations: 160.9 kB / 423.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1373, allocations: 223.1 kB / 424.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.1394, allocations: 0.9519 MB / 425 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.1395, allocations: 82.06 kB / 425.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.1397, allocations: 108 kB / 425.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.1416, allocations: 1.058 MB / 426.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.1416, allocations: 0 / 426.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/0.1417, allocations: 44 kB / 426.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.1418, allocations: 27.98 kB / 426.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.1435, 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.1785/0.322, allocations: 6.735 MB / 434.1 MB, free: 32.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.3245, allocations: 1.466 MB / 435.6 MB, free: 31.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.3251, allocations: 407.6 kB / 436 MB, free: 31.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.3252, allocations: 19.17 kB / 436 MB, free: 31.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3252, allocations: 52.59 kB / 436.1 MB, free: 31.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.236e-06/0.3252, allocations: 0 / 436.1 MB, free: 31.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003361/0.3286, allocations: 1.685 MB / 437.7 MB, free: 30.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3287, allocations: 116.1 kB / 437.9 MB, free: 30.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3298, allocations: 0.7762 MB / 438.6 MB, free: 30.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.3299, allocations: 41.64 kB / 438.7 MB, free: 30.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.3302, allocations: 496.5 kB / 439.2 MB, free: 29.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.3305, allocations: 412.3 kB / 439.6 MB, free: 29.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.3308, allocations: 181.8 kB / 439.7 MB, free: 29.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.3309, allocations: 349 kB / 440.1 MB, free: 28.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.3315, allocations: 317.4 kB / 440.4 MB, free: 28.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.3322, allocations: 484.4 kB / 440.9 MB, free: 28.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3333, allocations: 0.863 MB / 441.7 MB, free: 28.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.3334, allocations: 1.219 kB / 441.7 MB, free: 28.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002132/0.3355, allocations: 1.155 MB / 442.9 MB, free: 27.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.3355, allocations: 7.828 kB / 442.9 MB, free: 27.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3356, allocations: 5.344 kB / 442.9 MB, free: 27.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.3362, allocations: 159.8 kB / 443.1 MB, free: 27.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3375, allocations: 314.7 kB / 443.4 MB, free: 27.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.3408, allocations: 4.798 MB / 448.2 MB, free: 22.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.342, allocations: 74.39 kB / 448.2 MB, free: 22.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.3421, allocations: 36.7 kB / 448.3 MB, free: 22.84 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.0004739/0.3426, allocations: 287.7 kB / 448.5 MB, free: 22.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.3428, allocations: 112.8 kB / 448.7 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.3449, allocations: 1.133 MB / 449.8 MB, free: 22.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3449, allocations: 17.09 kB / 449.8 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3449, allocations: 2.562 kB / 449.8 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.3449, allocations: 5.953 kB / 449.8 MB, free: 22.01 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.003627/0.3486, allocations: 2.843 MB / 452.7 MB, free: 20.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3486, allocations: 1.188 kB / 452.7 MB, free: 20.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.3497, allocations: 274.1 kB / 452.9 MB, free: 20.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.3501, allocations: 155 kB / 453.1 MB, free: 20.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.3502, allocations: 21.44 kB / 453.1 MB, free: 20.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.3533, allocations: 4.799 MB / 457.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3533, allocations: 1.344 kB / 457.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.3553, allocations: 1.31 MB / 459.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.3557, allocations: 291.1 kB / 459.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.3559, allocations: 28.78 kB / 459.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.3567, allocations: 39.58 kB / 459.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3569, allocations: 79.42 kB / 459.6 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3569, allocations: 31.75 kB / 459.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006024/0.3575, allocations: 0.5318 MB / 460.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3575, allocations: 7.938 kB / 460.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3589, allocations: 408.8 kB / 460.6 MB, free: 14.17 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.00197/0.3609, allocations: 1.946 MB / 462.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.3632, allocations: 1.32 MB / 463.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3632, allocations: 0 / 463.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3643, allocations: 0.871 MB / 464.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3654, allocations: 179.7 kB / 464.9 MB, free: 11.25 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.01065/0.3761, allocations: 8.695 MB / 473.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.3766, allocations: 1.066 MB / 474.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007652/0.3774, allocations: 155.1 kB / 474.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/0.3779, allocations: 423.3 kB / 475.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3779, allocations: 0 / 475.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/0.4464, allocations: 23.95 MB / 499.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/10.04, allocations: 7.719 kB / 499.2 MB, free: 8.797 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.csv","/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