Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.007812/0.007812, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001671/0.001671, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.451/1.451, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0626/0.0626, allocations: 14.16 MB / 284.1 MB, free: 7 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.001402/0.001402, allocations: 64.69 kB / 396 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 50.16 MB / 446.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.00656/0.2707, allocations: 7.156 MB / 453.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.2758, allocations: 3.532 MB / 456.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.2765, allocations: 20.91 kB / 456.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009781/0.2775, allocations: 409.5 kB / 457.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.2811, allocations: 1.558 MB / 458.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2822, allocations: 0.5738 MB / 459.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.2845, allocations: 1.811 MB / 461.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2848, allocations: 130.7 kB / 461.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.2857, allocations: 0.6243 MB / 461.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008473/0.2865, allocations: 0.6329 MB / 462.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/0.2866, allocations: 65.03 kB / 462.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2877, allocations: 429.9 kB / 463.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2878, allocations: 159.4 kB / 463.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.2883, allocations: 0.5363 MB / 463.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.2902, allocations: 1.478 MB / 465.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2902, allocations: 1.094 kB / 465.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2902, allocations: 3.938 kB / 465.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2903, allocations: 0 / 465.2 MB, free: 3.668 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.005266/0.2955, allocations: 1.69 MB / 466.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2956, allocations: 8.031 kB / 466.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2957, allocations: 118.7 kB / 467.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/0.2964, allocations: 143.8 kB / 467.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.2977, allocations: 0.6649 MB / 467.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.2978, allocations: 58.12 kB / 467.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2979, allocations: 75.98 kB / 468 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.299, allocations: 0.763 MB / 468.8 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.299, allocations: 0 / 468.8 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.2991, allocations: 32 kB / 468.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.2991, allocations: 16 kB / 468.8 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3001, allocations: 0.6714 MB / 469.5 MB, free: 15.62 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.006187/0.3063, allocations: 5.227 MB / 474.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.308, allocations: 0.9378 MB / 475.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.3084, allocations: 290.7 kB / 475.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.3085, allocations: 12.59 kB / 475.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3085, allocations: 47.22 kB / 476 MB, free: 8.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.495e-06/0.3085, allocations: 0 / 476 MB, free: 8.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004603/0.3131, allocations: 1.561 MB / 477.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3132, allocations: 60.06 kB / 477.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.3139, allocations: 0.5536 MB / 478.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3139, allocations: 37.7 kB / 478.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.3142, allocations: 351.9 kB / 478.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.3144, allocations: 276 kB / 478.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.3146, allocations: 130.6 kB / 478.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3147, allocations: 370.8 kB / 479.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.3151, allocations: 209.9 kB / 479.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.3155, allocations: 334.1 kB / 479.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.3163, allocations: 0.5914 MB / 480.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3163, allocations: 0 / 480.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001859/0.3182, allocations: 0.943 MB / 481.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3182, allocations: 8.031 kB / 481.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3183, allocations: 7.938 kB / 481.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.3194, allocations: 315.2 kB / 481.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.3201, allocations: 163.8 kB / 481.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/0.3251, allocations: 3.366 MB / 485.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/0.3259, allocations: 55.53 kB / 485.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.326, allocations: 31.98 kB / 485.3 MB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.3263, allocations: 217.7 kB / 485.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.3265, allocations: 75.16 kB / 485.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.3282, allocations: 0.8763 MB / 486.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3282, allocations: 19.88 kB / 486.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3282, allocations: 0 / 486.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3283, allocations: 3.984 kB / 486.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.3312, allocations: 1.924 MB / 488.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3312, allocations: 0 / 488.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.3318, allocations: 127.9 kB / 488.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.3328, allocations: 300.6 kB / 488.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.3329, allocations: 12 kB / 488.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.3374, allocations: 3.284 MB / 492.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3374, allocations: 3.984 kB / 492.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3392, allocations: 0.9405 MB / 493.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.3396, allocations: 220.1 kB / 493.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.3397, allocations: 19.94 kB / 493.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3403, allocations: 27.83 kB / 493.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3404, allocations: 56.58 kB / 493.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3404, allocations: 16 kB / 493.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004814/0.3409, allocations: 386.8 kB / 493.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3409, allocations: 3.938 kB / 493.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009778/0.3419, allocations: 331.8 kB / 494.1 MB, free: 5.805 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.3441, allocations: 1.539 MB / 495.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.3458, allocations: 0.9153 MB / 496.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.3458, allocations: 8.062 kB / 496.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3468, allocations: 0.5985 MB / 497.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.3476, allocations: 106.3 kB / 497.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009019/0.3566, allocations: 5.985 MB / 0.4915 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.3572, allocations: 0.9428 MB / 0.4924 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000346/0.3575, allocations: 85.31 kB / 0.4925 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.3579, allocations: 263.3 kB / 0.4927 GB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3579, allocations: 0 / 0.4927 GB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/0.4049, allocations: 20.41 MB / 0.5126 GB, free: 6.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.55, allocations: 11.86 kB / 0.5126 GB, free: 6.676 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches