Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker",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.001562/0.001562, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001861/0.001861, allocations: 194.9 kB / 16.25 MB, free: 6.617 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.469/1.469, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0612/0.0612, allocations: 14.16 MB / 283.6 MB, free: 7.254 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.001375/0.001376, allocations: 79.83 kB / 344.7 MB, free: 19.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09228, allocations: 50.13 MB / 394.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01119/0.1035, allocations: 11.95 MB / 406.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008366/0.1119, allocations: 4.982 MB / 411.7 MB, free: 476 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.1137, allocations: 35.88 kB / 411.8 MB, free: 440 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.1154, allocations: 0.5524 MB / 412.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.1209, allocations: 2.167 MB / 414.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1221, allocations: 0.4906 MB / 415 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00503/0.1272, allocations: 3.503 MB / 418.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.1276, allocations: 245.4 kB / 418.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.129, allocations: 0.9917 MB / 419.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.13, allocations: 0.9917 MB / 420.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.1303, allocations: 88 kB / 420.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1316, allocations: 0.4997 MB / 421.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1318, allocations: 234.7 kB / 421.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008218/0.1326, allocations: 0.9172 MB / 422.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.135, allocations: 2.231 MB / 424.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.135, allocations: 0 / 424.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.135, allocations: 0 / 424.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.135, allocations: 0 / 424.7 MB, free: 3.484 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007709/0.1428, allocations: 2.717 MB / 427.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1428, allocations: 8.031 kB / 427.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.143, allocations: 198.6 kB / 427.6 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.144, allocations: 266.7 kB / 427.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1495/0.2936, allocations: 1.018 MB / 428.9 MB, free: 37.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2937, allocations: 132.2 kB / 429 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.2939, allocations: 126.3 kB / 429.1 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.2962, allocations: 1.349 MB / 430.5 MB, free: 36.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.2962, allocations: 11.66 kB / 430.5 MB, free: 36.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/0.2963, allocations: 57 kB / 430.5 MB, free: 36.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.2963, allocations: 33.41 kB / 430.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.2983, allocations: 1.244 MB / 431.8 MB, free: 36.49 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.007044/0.3054, allocations: 8.579 MB / 440.4 MB, free: 29.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.3077, allocations: 1.55 MB / 441.9 MB, free: 28.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.3084, allocations: 0.5717 MB / 442.5 MB, free: 28.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.3085, allocations: 13.56 kB / 442.5 MB, free: 28.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009238/0.3095, allocations: 0.6295 MB / 443.2 MB, free: 27.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=150): time 3.466e-06/0.3095, allocations: 1.031 kB / 443.2 MB, free: 27.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.009287/0.3188, allocations: 3.149 MB / 446.3 MB, free: 26.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3189, allocations: 148.5 kB / 446.4 MB, free: 26.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.3198, allocations: 0.7911 MB / 447.2 MB, free: 26.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.472e-05/0.3199, allocations: 47.42 kB / 447.3 MB, free: 26.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.3202, allocations: 0.5748 MB / 447.9 MB, free: 25.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.3205, allocations: 0.5034 MB / 448.4 MB, free: 25.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.3208, allocations: 238.6 kB / 448.6 MB, free: 25.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.3209, allocations: 309.1 kB / 448.9 MB, free: 24.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.3214, allocations: 404.2 kB / 449.3 MB, free: 24.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.3221, allocations: 0.6277 MB / 449.9 MB, free: 24.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3234, allocations: 1.182 MB / 451.1 MB, free: 23.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3235, allocations: 4.891 kB / 451.1 MB, free: 23.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003003/0.3265, allocations: 1.749 MB / 452.9 MB, free: 22.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.3265, allocations: 63.33 kB / 452.9 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3265, allocations: 7.875 kB / 452.9 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.328, allocations: 0.4977 MB / 453.4 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3292, allocations: 312.9 kB / 453.7 MB, free: 22.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.3352, allocations: 4.755 MB / 458.5 MB, free: 18.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3363, allocations: 98.48 kB / 458.6 MB, free: 18.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.3364, allocations: 51.19 kB / 458.6 MB, free: 18.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$PRE.transformer.breakerStatusInInternal,transformer.breakerStatus,$PRE.transformer.breakerStatus,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * 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 {(8,37)} Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.3369, allocations: 350.5 kB / 459 MB, free: 18.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.337, allocations: 140.7 kB / 459.1 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3396, allocations: 1.645 MB / 460.8 MB, free: 16.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3396, allocations: 12 kB / 460.8 MB, free: 16.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3396, allocations: 0 / 460.8 MB, free: 16.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3396, allocations: 7.969 kB / 460.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.3436, allocations: 3.095 MB / 463.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3436, allocations: 3.984 kB / 463.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009464/0.3445, allocations: 259.7 kB / 464.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.3459, allocations: 488.2 kB / 464.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.346, allocations: 27.98 kB / 464.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005322/0.3513, allocations: 4.628 MB / 469.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3513, allocations: 0 / 469.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.354, allocations: 1.677 MB / 470.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.3545, allocations: 307.3 kB / 471.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3547, allocations: 28 kB / 471.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.3554, allocations: 63.52 kB / 471.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3556, allocations: 105.2 kB / 471.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.3556, allocations: 32 kB / 471.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005731/0.3562, allocations: 0.5356 MB / 472 MB, free: 5.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3562, allocations: 0 / 472 MB, free: 5.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00124/0.3575, allocations: 0.5153 MB / 472.5 MB, free: 4.652 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: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * 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 {(6,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/0.3602, allocations: 2.359 MB / 474.9 MB, free: 2.273 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.003393/0.3636, allocations: 1.72 MB / 476.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3636, allocations: 0 / 476.6 MB, free: 0.5312 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.001403/0.365, allocations: 1.023 MB / 477.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.366, allocations: 155.8 kB / 477.8 MB, free: 15.34 MB / 334.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.01575/0.3818, allocations: 10.9 MB / 488.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.3825, allocations: 1.163 MB / 489.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007797/0.3833, allocations: 165.6 kB / 490 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/0.3839, allocations: 495.3 kB / 490.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3839, allocations: 4 kB / 490.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.4356, allocations: 29.72 MB / 0.508 GB, free: 4.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.436, allocations: 248.5 kB / 0.5082 GB, free: 4.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/2.988, allocations: 0 / 0.5082 GB, free: 4.238 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatioWithBreaker.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches