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.00122/0.00122, 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.001029/0.001029, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.582/1.582, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06428/0.06428, allocations: 14.17 MB / 283.9 MB, free: 7.102 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.001378/0.001378, allocations: 76.12 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 50.13 MB / 395.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.01121/0.114, allocations: 7.155 MB / 402.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.1213, allocations: 3.514 MB / 406 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1224, allocations: 19.94 kB / 406 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1237, allocations: 413.7 kB / 406.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.1282, allocations: 1.565 MB / 408 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1296, allocations: 0.57 MB / 408.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.1325, allocations: 1.813 MB / 410.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.1328, allocations: 126.5 kB / 410.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1339, allocations: 0.5993 MB / 411.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1351, allocations: 0.6303 MB / 411.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.1353, allocations: 64 kB / 411.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.137, allocations: 431.7 kB / 412.2 MB, free: 184 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.1373, allocations: 155.2 kB / 412.3 MB, free: 24 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.1384, allocations: 0.5403 MB / 412.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.141, allocations: 1.414 MB / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.141, allocations: 7.875 kB / 414.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.141, allocations: 0 / 414.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.1411, allocations: 0 / 414.3 MB, free: 14.05 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.006971/0.1481, allocations: 1.7 MB / 416 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1481, allocations: 8.031 kB / 416 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/0.1484, allocations: 118.7 kB / 416.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.1492, allocations: 155.7 kB / 416.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.1506, allocations: 0.6648 MB / 416.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.1507, allocations: 54.12 kB / 417 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1508, allocations: 72 kB / 417.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1521, allocations: 0.7553 MB / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1522, allocations: 0 / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.1522, allocations: 35.94 kB / 417.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.1523, allocations: 16 kB / 417.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1535, allocations: 0.6753 MB / 418.5 MB, free: 9.664 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.006595/0.1601, allocations: 5.209 MB / 423.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.1617, allocations: 0.958 MB / 424.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.1622, allocations: 286.8 kB / 425 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.1622, allocations: 8.656 kB / 425 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1623, allocations: 43.22 kB / 425 MB, free: 2.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/0.1623, allocations: 0 / 425 MB, free: 2.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004984/0.1673, allocations: 1.639 MB / 426.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1673, allocations: 60.06 kB / 426.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.1681, allocations: 0.5615 MB / 427.3 MB, free: 276 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.1682, allocations: 45.7 kB / 427.3 MB, free: 224 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1672/0.3354, allocations: 344 kB / 427.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.3358, allocations: 272 kB / 427.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/0.3362, allocations: 140.5 kB / 428.1 MB, free: 37.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3364, allocations: 376.4 kB / 428.5 MB, free: 36.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.3369, allocations: 208.4 kB / 428.7 MB, free: 36.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.3373, allocations: 344.7 kB / 429 MB, free: 36.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.3382, allocations: 0.5992 MB / 429.6 MB, free: 36.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3382, allocations: 5.188 kB / 429.6 MB, free: 36.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002204/0.3404, allocations: 0.9606 MB / 430.6 MB, free: 36.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3405, allocations: 6.469 kB / 430.6 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3405, allocations: 3.828 kB / 430.6 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.3418, allocations: 314.1 kB / 430.9 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.3425, allocations: 165.5 kB / 431 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.3474, allocations: 3.381 MB / 434.4 MB, free: 34.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008436/0.3482, allocations: 54.14 kB / 434.5 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.3483, allocations: 32.44 kB / 434.5 MB, free: 34.3 MB / 318.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.0003092/0.3486, allocations: 217.8 kB / 434.7 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.3489, allocations: 73.73 kB / 434.8 MB, free: 34.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.3506, allocations: 0.8938 MB / 435.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3506, allocations: 7.625 kB / 435.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3507, allocations: 1.25 kB / 435.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3507, allocations: 4.688 kB / 435.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.3541, allocations: 1.951 MB / 437.6 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3541, allocations: 0 / 437.6 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.3547, allocations: 127.1 kB / 437.8 MB, free: 32.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3558, allocations: 306.1 kB / 438.1 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.3558, allocations: 11.19 kB / 438.1 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/0.3604, allocations: 3.282 MB / 441.4 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3604, allocations: 2.688 kB / 441.4 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.3623, allocations: 0.9455 MB / 442.3 MB, free: 29.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.3627, allocations: 231.6 kB / 442.5 MB, free: 29.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.3628, allocations: 15.34 kB / 442.5 MB, free: 29.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.3634, allocations: 21.86 kB / 442.6 MB, free: 29.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3635, allocations: 50.23 kB / 442.6 MB, free: 29.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3635, allocations: 17.34 kB / 442.6 MB, free: 29.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.3641, allocations: 396.6 kB / 443 MB, free: 29.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3641, allocations: 0 / 443 MB, free: 29.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3651, allocations: 333.3 kB / 443.3 MB, free: 29.26 MB / 318.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.001993/0.3671, allocations: 1.565 MB / 444.9 MB, free: 28.23 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 initialization part: time 0.00188/0.369, allocations: 0.8842 MB / 445.8 MB, free: 27.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.369, allocations: 0 / 445.8 MB, free: 27.82 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 simulation system equations: time 0.0009242/0.37, allocations: 0.5804 MB / 446.4 MB, free: 27.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.3707, allocations: 118.3 kB / 446.5 MB, free: 27.45 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.009075/0.3798, allocations: 6.315 MB / 452.8 MB, free: 23.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3802, allocations: 0.9399 MB / 453.7 MB, free: 23.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.3807, allocations: 87.3 kB / 453.8 MB, free: 23.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.381, allocations: 259.2 kB / 454.1 MB, free: 22.88 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3811, allocations: 0 / 454.1 MB, free: 22.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.428, allocations: 19.68 MB / 473.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 4 kB / 473.8 MB, free: 3.992 MB / 318.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