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.008288/0.008288, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001791/0.001791, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06283/0.06283, allocations: 14.18 MB / 284.1 MB, free: 6.98 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.001841/0.001841, allocations: 68.47 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2804, allocations: 50.14 MB / 446.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007312/0.2877, allocations: 7.158 MB / 453.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.2935, allocations: 3.527 MB / 456.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009831/0.2945, allocations: 17.34 kB / 456.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2958, allocations: 410.1 kB / 457.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00466/0.3005, allocations: 1.62 MB / 458.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3018, allocations: 0.5706 MB / 459.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.3047, allocations: 1.825 MB / 461.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.3051, allocations: 123.2 kB / 461.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.3064, allocations: 0.6187 MB / 462 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.3075, allocations: 0.6295 MB / 462.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3076, allocations: 61.75 kB / 462.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.3089, allocations: 436.4 kB / 463.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3091, allocations: 151.9 kB / 463.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000793/0.3099, allocations: 0.5403 MB / 463.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.3124, allocations: 1.486 MB / 465.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3124, allocations: 4 kB / 465.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3124, allocations: 1.156 kB / 465.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.3125, allocations: 4 kB / 465.3 MB, free: 3.602 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.00572/0.3182, allocations: 1.68 MB / 467 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3183, allocations: 8.031 kB / 467 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.3184, allocations: 122.7 kB / 467.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.3191, allocations: 147.7 kB / 467.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.3205, allocations: 0.6688 MB / 467.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.3205, allocations: 58.12 kB / 468 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3206, allocations: 72 kB / 468 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.3218, allocations: 0.7554 MB / 468.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3218, allocations: 0 / 468.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.3219, allocations: 36 kB / 468.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3219, allocations: 16 kB / 468.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.323, allocations: 0.6714 MB / 469.5 MB, free: 15.54 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.006653/0.3296, allocations: 5.194 MB / 474.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3313, allocations: 0.9545 MB / 475.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.3317, allocations: 286.8 kB / 475.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.3318, allocations: 8.656 kB / 475.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3319, allocations: 35.22 kB / 476 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.3319, allocations: 4 kB / 476 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005063/0.337, allocations: 1.642 MB / 477.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.337, allocations: 60.06 kB / 477.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.3379, allocations: 0.5615 MB / 478.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.338, allocations: 41.7 kB / 478.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.3382, allocations: 347.9 kB / 478.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.3385, allocations: 276 kB / 478.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3387, allocations: 134.5 kB / 479 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3389, allocations: 374.8 kB / 479.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3393, allocations: 213.9 kB / 479.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.3397, allocations: 343.7 kB / 479.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.3406, allocations: 0.6048 MB / 480.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3406, allocations: 4 kB / 480.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002048/0.3427, allocations: 0.9661 MB / 481.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3427, allocations: 4 kB / 481.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3427, allocations: 7.984 kB / 481.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3439, allocations: 303.5 kB / 481.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.3446, allocations: 171.7 kB / 482 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005333/0.35, allocations: 3.375 MB / 485.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.3509, allocations: 47.62 kB / 485.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.351, allocations: 31.98 kB / 485.4 MB, free: 14.71 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.000392/0.3514, allocations: 225.7 kB / 485.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.3517, allocations: 83.05 kB / 485.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.3537, allocations: 0.892 MB / 486.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3538, allocations: 8 kB / 486.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3538, allocations: 0 / 486.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3538, allocations: 3.984 kB / 486.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.3574, allocations: 1.936 MB / 488.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3574, allocations: 0 / 488.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.358, allocations: 135.7 kB / 488.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.3591, allocations: 297 kB / 489 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.3592, allocations: 16 kB / 489 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.364, allocations: 3.259 MB / 492.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.364, allocations: 7.984 kB / 492.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.366, allocations: 0.9444 MB / 493.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.3666, allocations: 236 kB / 493.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.3669, allocations: 15.94 kB / 493.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.3675, allocations: 23.92 kB / 493.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.3677, allocations: 60.58 kB / 493.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.3677, allocations: 19.94 kB / 493.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005893/0.3683, allocations: 394.8 kB / 494 MB, free: 5.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3683, allocations: 0 / 494 MB, free: 5.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001179/0.3695, allocations: 335.7 kB / 494.3 MB, free: 5.562 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.002409/0.3719, allocations: 1.558 MB / 495.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.3737, allocations: 0.8645 MB / 496.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3737, allocations: 0 / 496.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.3747, allocations: 0.5753 MB / 497.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.3757, allocations: 116.8 kB / 497.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3864, allocations: 6.082 MB / 0.4917 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.3872, allocations: 0.9389 MB / 0.4926 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.3876, allocations: 85.33 kB / 0.4927 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.388, allocations: 259.3 kB / 0.4929 GB, free: 10.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.388, allocations: 0 / 0.4929 GB, free: 10.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/0.4418, allocations: 20.02 MB / 0.5125 GB, free: 6.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.39, allocations: 7.969 kB / 0.5125 GB, free: 6.781 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 & /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","/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