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.006702/0.006702, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001693/0.001693, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.588/1.588, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.08602/0.08602, allocations: 14.16 MB / 284.1 MB, free: 6.988 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.002255/0.002255, allocations: 71.91 kB / 396 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2823, allocations: 50.14 MB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.008174/0.2905, allocations: 7.159 MB / 453.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.2964, allocations: 3.526 MB / 456.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.2969, allocations: 16.94 kB / 456.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.2979, allocations: 414.2 kB / 457.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.3013, allocations: 1.554 MB / 458.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3024, allocations: 0.5652 MB / 459.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.3046, allocations: 1.83 MB / 461.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.3048, allocations: 124.8 kB / 461.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.3056, allocations: 0.6057 MB / 461.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000817/0.3064, allocations: 0.6299 MB / 462.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.3065, allocations: 61.62 kB / 462.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008863/0.3074, allocations: 428.6 kB / 463 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3076, allocations: 156.2 kB / 463.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.3082, allocations: 0.5393 MB / 463.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.3102, allocations: 1.497 MB / 465.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3103, allocations: 0 / 465.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3103, allocations: 0 / 465.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3103, allocations: 1.062 kB / 465.2 MB, free: 3.629 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.00526/0.3156, allocations: 1.724 MB / 466.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3156, allocations: 8.031 kB / 466.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.3158, allocations: 118.7 kB / 467.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006097/0.3164, allocations: 148.3 kB / 467.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3177, allocations: 0.6811 MB / 467.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.3177, allocations: 58.12 kB / 467.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.3178, allocations: 68 kB / 468 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3191, allocations: 0.7631 MB / 468.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3191, allocations: 0 / 468.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.3192, allocations: 28 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.3192, allocations: 16 kB / 468.8 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3204, allocations: 0.6792 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.006824/0.3272, allocations: 5.194 MB / 474.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.3291, allocations: 0.9493 MB / 475.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.3295, allocations: 286.7 kB / 475.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.3296, allocations: 8.656 kB / 475.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3297, allocations: 47.22 kB / 476 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.976e-06/0.3297, allocations: 0 / 476 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005406/0.3351, allocations: 1.636 MB / 477.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3351, allocations: 60.06 kB / 477.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.336, allocations: 0.5694 MB / 478.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.3361, allocations: 37.7 kB / 478.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.3364, allocations: 360.7 kB / 478.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.3367, allocations: 285.5 kB / 478.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3369, allocations: 130.6 kB / 479 MB, free: 5.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3371, allocations: 378.8 kB / 479.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.3375, allocations: 209.9 kB / 479.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.338, allocations: 351.7 kB / 480 MB, free: 4.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/0.339, allocations: 0.6048 MB / 480.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.339, allocations: 0 / 480.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002063/0.3411, allocations: 0.9587 MB / 481.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3411, allocations: 15.42 kB / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3411, allocations: 7.938 kB / 481.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3423, allocations: 303.5 kB / 481.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.343, allocations: 167.7 kB / 482 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005216/0.3482, allocations: 3.39 MB / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.349, allocations: 59.72 kB / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.3491, allocations: 31.94 kB / 485.5 MB, free: 14.67 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.0003299/0.3494, allocations: 225.6 kB / 485.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3495, allocations: 79.53 kB / 485.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.3515, allocations: 0.8881 MB / 486.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3515, allocations: 11.98 kB / 486.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.3515, allocations: 0 / 486.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3516, allocations: 3.984 kB / 486.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.3548, allocations: 1.936 MB / 488.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3548, allocations: 0 / 488.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.3554, allocations: 131.9 kB / 488.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3565, allocations: 293 kB / 489 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.3566, allocations: 12 kB / 489 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.3617, allocations: 3.279 MB / 492.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3618, allocations: 0 / 492.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.3638, allocations: 0.9564 MB / 493.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.3642, allocations: 228.5 kB / 493.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.3643, allocations: 15.94 kB / 493.5 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.3649, allocations: 31.86 kB / 493.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.365, allocations: 48.58 kB / 493.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.3651, allocations: 16 kB / 493.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005738/0.3656, allocations: 398.8 kB / 494 MB, free: 5.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3656, allocations: 3.938 kB / 494 MB, free: 5.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009867/0.3666, allocations: 335.8 kB / 494.3 MB, free: 5.527 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.002364/0.369, allocations: 1.566 MB / 495.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.3708, allocations: 0.8646 MB / 496.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3708, allocations: 0 / 496.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.3719, allocations: 0.5752 MB / 497.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.3729, allocations: 106.3 kB / 497.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3833, allocations: 6.123 MB / 0.4918 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.384, allocations: 0.9428 MB / 0.4927 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000358/0.3844, allocations: 81.31 kB / 0.4928 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.3848, allocations: 263.3 kB / 0.493 GB, free: 10.76 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3848, allocations: 0 / 0.493 GB, free: 10.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.441, allocations: 20.01 MB / 0.5126 GB, free: 6.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.11, allocations: 7.969 kB / 0.5126 GB, free: 6.707 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