Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",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.005782/0.005782, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001525/0.001525, allocations: 198.6 kB / 16.68 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.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06988/0.06988, allocations: 14.17 MB / 284.1 MB, free: 7.008 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.002907/0.002908, allocations: 67.89 kB / 396 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2973, allocations: 50.15 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007821/0.3052, allocations: 7.15 MB / 453.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.3116, allocations: 3.528 MB / 456.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.3128, allocations: 20.41 kB / 456.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.3144, allocations: 406 kB / 457.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.3192, allocations: 1.566 MB / 458.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.3206, allocations: 0.5585 MB / 459.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.3238, allocations: 1.829 MB / 461.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3243, allocations: 127.8 kB / 461.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.3257, allocations: 0.6076 MB / 461.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.3271, allocations: 0.6251 MB / 462.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.3273, allocations: 65.75 kB / 462.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3289, allocations: 428.8 kB / 463 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3291, allocations: 155.8 kB / 463.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3305, allocations: 0.5363 MB / 463.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.3341, allocations: 1.504 MB / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3341, allocations: 1.156 kB / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3342, allocations: 0 / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.864e-05/0.3342, allocations: 0 / 465.2 MB, free: 3.645 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.006677/0.3409, allocations: 1.716 MB / 466.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.341, allocations: 12.03 kB / 466.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/0.3412, allocations: 118.7 kB / 467.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/0.3421, allocations: 148.3 kB / 467.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.344, allocations: 0.681 MB / 467.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.3441, allocations: 62.12 kB / 468 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3443, allocations: 64 kB / 468 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3459, allocations: 0.7554 MB / 468.8 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.346, allocations: 3.984 kB / 468.8 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.3461, allocations: 32 kB / 468.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.3461, allocations: 20 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.3474, allocations: 0.6714 MB / 469.5 MB, free: 15.57 MB / 350.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.008071/0.3555, allocations: 5.202 MB / 474.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.3575, allocations: 0.9453 MB / 475.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.358, allocations: 282.8 kB / 475.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.3581, allocations: 8.656 kB / 475.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3582, allocations: 47.2 kB / 476 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.647e-06/0.3582, allocations: 0 / 476 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005762/0.364, allocations: 1.64 MB / 477.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.3641, allocations: 60.06 kB / 477.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3651, allocations: 0.5615 MB / 478.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.3653, allocations: 45.7 kB / 478.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.3656, allocations: 364.7 kB / 478.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.3661, allocations: 281.5 kB / 478.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.3664, allocations: 130.6 kB / 479 MB, free: 5.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3666, allocations: 378.8 kB / 479.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.367, allocations: 209.9 kB / 479.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.3676, allocations: 343.8 kB / 479.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/0.3685, allocations: 0.6164 MB / 480.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3686, allocations: 0 / 480.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002289/0.3709, allocations: 0.9664 MB / 481.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3709, allocations: 8 kB / 481.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3709, allocations: 4 kB / 481.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3722, allocations: 303.5 kB / 481.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.3729, allocations: 167.7 kB / 482 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.3788, allocations: 3.398 MB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3798, allocations: 51.72 kB / 485.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.3799, allocations: 24 kB / 485.5 MB, free: 14.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004271/0.3803, allocations: 229.6 kB / 485.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.3806, allocations: 75.53 kB / 485.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.3827, allocations: 0.892 MB / 486.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.3827, allocations: 8 kB / 486.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3827, allocations: 0 / 486.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3828, allocations: 7.984 kB / 486.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.3866, allocations: 1.936 MB / 488.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3867, allocations: 4 kB / 488.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.3873, allocations: 123.8 kB / 488.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.3885, allocations: 301 kB / 489 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.3886, allocations: 15.98 kB / 489.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/0.394, allocations: 3.272 MB / 492.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3941, allocations: 0 / 492.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.3963, allocations: 0.9564 MB / 493.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.3969, allocations: 224.5 kB / 493.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.3971, allocations: 19.94 kB / 493.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.3978, allocations: 23.92 kB / 493.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3979, allocations: 60.45 kB / 493.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.398, allocations: 16 kB / 493.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005926/0.3986, allocations: 402.8 kB / 494 MB, free: 5.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3986, allocations: 0 / 494 MB, free: 5.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3997, allocations: 335.8 kB / 494.3 MB, free: 5.543 MB / 366.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 (51): * Single equations (assignments): 50 * 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/0.4023, allocations: 1.563 MB / 495.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.4042, allocations: 0.8685 MB / 496.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.4042, allocations: 8.125 kB / 496.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4054, allocations: 0.5634 MB / 497.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4064, allocations: 109.9 kB / 497.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.4181, allocations: 6.116 MB / 0.4918 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.4189, allocations: 0.9389 MB / 0.4927 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.4194, allocations: 85.31 kB / 0.4928 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.4198, allocations: 263.3 kB / 0.493 GB, free: 10.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4199, allocations: 0 / 0.493 GB, free: 10.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.4811, allocations: 20.02 MB / 0.5126 GB, free: 6.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.61, allocations: 3.906 kB / 0.5126 GB, free: 6.723 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches