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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001146/0.001146, allocations: 197.8 kB / 16.14 MB, free: 6.668 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.144/1.144, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05565/0.05565, allocations: 14.15 MB / 283.5 MB, free: 7.312 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.001215/0.001215, allocations: 67.89 kB / 344.5 MB, free: 19.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06724/0.06846, allocations: 50.14 MB / 394.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.006343/0.07484, allocations: 7.31 MB / 401.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.0789, allocations: 3.522 MB / 405.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.07916, allocations: 19.94 kB / 405.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.07988, allocations: 362.5 kB / 405.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.08238, allocations: 1.465 MB / 407.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.08324, allocations: 0.5451 MB / 407.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.08483, allocations: 1.838 MB / 409.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.08502, allocations: 114.5 kB / 409.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.08545, allocations: 473.5 kB / 410.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.0859, allocations: 0.5172 MB / 410.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.08596, allocations: 28 kB / 410.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.08655, allocations: 363.6 kB / 411.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.08665, allocations: 115.3 kB / 411.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.08702, allocations: 481.3 kB / 411.7 MB, free: 396 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.08812, allocations: 1.305 MB / 413 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.08814, allocations: 0 / 413 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.08815, allocations: 0 / 413 MB, free: 15.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.08816, allocations: 4 kB / 413 MB, free: 15.07 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.00406/0.09222, allocations: 1.625 MB / 414.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.09227, allocations: 8.031 kB / 414.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.09239, allocations: 118.7 kB / 414.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.09293, allocations: 151.7 kB / 414.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.09387, allocations: 0.6374 MB / 415.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.09391, allocations: 62.06 kB / 415.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.094, allocations: 71.94 kB / 415.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.09504, allocations: 0.7554 MB / 416.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.09506, allocations: 0 / 416.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.09512, allocations: 32 kB / 416.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.09515, allocations: 24 kB / 416.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.09614, allocations: 0.6752 MB / 417.2 MB, free: 10.78 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.003947/0.1001, allocations: 4.768 MB / 422 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.1015, allocations: 0.9669 MB / 422.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.1019, allocations: 282.8 kB / 423.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.1019, allocations: 8.656 kB / 423.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.102, allocations: 43.22 kB / 423.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.724e-06/0.102, allocations: 0 / 423.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004374/0.1064, allocations: 1.639 MB / 424.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1064, allocations: 60.06 kB / 425 MB, free: 2.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.1069, allocations: 0.5107 MB / 425.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1069, allocations: 37.7 kB / 425.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1071, allocations: 351.9 kB / 425.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1073, allocations: 264.1 kB / 426.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1075, allocations: 130.6 kB / 426.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1076, allocations: 374.8 kB / 426.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.1079, allocations: 209.9 kB / 426.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1083, allocations: 347.7 kB / 427.1 MB, free: 136 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1177/0.226, allocations: 0.5971 MB / 427.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.226, allocations: 1.375 kB / 427.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001801/0.2278, allocations: 0.9641 MB / 428.7 MB, free: 37.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2279, allocations: 6.016 kB / 428.7 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2279, allocations: 4.125 kB / 428.7 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.229, allocations: 311.6 kB / 429 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2295, allocations: 160.7 kB / 429.2 MB, free: 37.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.2332, allocations: 3.085 MB / 432.3 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.2337, allocations: 52.38 kB / 432.3 MB, free: 35.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.2338, allocations: 25.05 kB / 432.3 MB, free: 35.36 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.0002422/0.234, allocations: 229.1 kB / 432.6 MB, free: 35.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.2341, allocations: 72.44 kB / 432.6 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.2358, allocations: 0.8976 MB / 433.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2359, allocations: 8.609 kB / 433.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.2359, allocations: 3.938 kB / 433.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2359, allocations: 4.078 kB / 433.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.2382, allocations: 1.822 MB / 435.4 MB, free: 33.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2382, allocations: 2.562 kB / 435.4 MB, free: 33.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.2387, allocations: 126.3 kB / 435.5 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009545/0.2396, allocations: 292.3 kB / 435.8 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2397, allocations: 11.09 kB / 435.8 MB, free: 33.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.243, allocations: 2.996 MB / 438.8 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2431, allocations: 2.875 kB / 438.8 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2446, allocations: 0.9454 MB / 439.7 MB, free: 31.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.2448, allocations: 204.8 kB / 439.9 MB, free: 30.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.2448, allocations: 16.28 kB / 440 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.2452, allocations: 36.45 kB / 440 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2453, allocations: 52.94 kB / 440 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.2454, allocations: 21.48 kB / 440.1 MB, free: 30.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.2458, allocations: 350.1 kB / 440.4 MB, free: 30.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2458, allocations: 1.344 kB / 440.4 MB, free: 30.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006931/0.2465, allocations: 295.3 kB / 440.7 MB, free: 30.68 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.001772/0.2483, allocations: 1.564 MB / 442.3 MB, free: 29.65 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.001228/0.2495, allocations: 0.86 MB / 443.1 MB, free: 29.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2495, allocations: 0.5625 kB / 443.1 MB, free: 29.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 simulation system equations: time 0.0007319/0.2502, allocations: 0.5681 MB / 443.7 MB, free: 28.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.2507, allocations: 82.64 kB / 443.8 MB, free: 28.91 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.007202/0.258, allocations: 6.325 MB / 450.1 MB, free: 25.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2583, allocations: 0.9382 MB / 451 MB, free: 24.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.2586, allocations: 83.3 kB / 451.1 MB, free: 24.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.2588, allocations: 253.6 kB / 451.4 MB, free: 24.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2588, allocations: 0 / 451.4 MB, free: 24.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.2817, allocations: 17.03 MB / 468.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.2819, allocations: 235.3 kB / 468.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.075, allocations: 8 kB / 468.6 MB, free: 8.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches