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.001163/0.001163, 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.001166/0.001166, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.115/1.115, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05486/0.05486, allocations: 14.17 MB / 283.5 MB, free: 7.531 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.001253/0.001253, allocations: 67.28 kB / 344.5 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06355/0.06481, allocations: 50.14 MB / 394.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.006115/0.07097, allocations: 7.31 MB / 401.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.07487, allocations: 3.534 MB / 405.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.07531, allocations: 19.94 kB / 405.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.07614, allocations: 354.5 kB / 405.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.07879, allocations: 1.478 MB / 407.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.07964, allocations: 0.5529 MB / 407.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.08119, allocations: 1.828 MB / 409.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.08138, allocations: 122.5 kB / 409.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.08179, allocations: 485.4 kB / 410.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.08224, allocations: 0.5172 MB / 410.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.08231, allocations: 28 kB / 410.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.0829, allocations: 359.7 kB / 411.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.083, allocations: 115.2 kB / 411.3 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.08335, allocations: 485.3 kB / 411.8 MB, free: 416 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.08437, allocations: 1.297 MB / 413.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.08439, allocations: 0 / 413.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.08439, allocations: 0 / 413.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.08441, allocations: 0 / 413.1 MB, free: 15.1 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.003858/0.08827, allocations: 1.625 MB / 414.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.08831, allocations: 8.031 kB / 414.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.08842, allocations: 118.7 kB / 414.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.08893, allocations: 151.7 kB / 415 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.08976, allocations: 0.6336 MB / 415.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.08981, allocations: 58.12 kB / 415.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.08989, allocations: 72 kB / 415.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.09086, allocations: 0.7554 MB / 416.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.09088, allocations: 7.875 kB / 416.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.09094, allocations: 28 kB / 416.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.09096, allocations: 16 kB / 416.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.09188, allocations: 0.6753 MB / 417.2 MB, free: 10.82 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.003654/0.09554, allocations: 4.804 MB / 422 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.09694, allocations: 0.9435 MB / 423 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.09731, allocations: 295.1 kB / 423.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.09737, allocations: 8.656 kB / 423.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.09739, allocations: 39.22 kB / 423.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.583e-06/0.0974, allocations: 0 / 423.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.003954/0.1014, allocations: 1.565 MB / 424.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1014, allocations: 64 kB / 424.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.1019, allocations: 0.4912 MB / 425.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1019, allocations: 41.7 kB / 425.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1021, allocations: 359.8 kB / 425.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.1023, allocations: 264.2 kB / 426.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1024, allocations: 134.5 kB / 426.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1026, allocations: 374.8 kB / 426.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1029, allocations: 209.9 kB / 426.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1032, allocations: 334 kB / 427.1 MB, free: 240 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1124/0.2156, allocations: 0.5772 MB / 427.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2157, allocations: 1.219 kB / 427.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001719/0.2174, allocations: 0.9422 MB / 428.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2174, allocations: 6.875 kB / 428.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2174, allocations: 10.8 kB / 428.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.2185, allocations: 313.6 kB / 428.9 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.2191, allocations: 164.8 kB / 429.1 MB, free: 37.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.2227, allocations: 3.061 MB / 432.1 MB, free: 35.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.2232, allocations: 59.3 kB / 432.2 MB, free: 35.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.2233, allocations: 24.53 kB / 432.2 MB, free: 35.47 MB / 318.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.0002277/0.2235, allocations: 233.2 kB / 432.5 MB, free: 35.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.2236, allocations: 76.31 kB / 432.5 MB, free: 35.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2251, allocations: 0.8854 MB / 433.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2251, allocations: 11.44 kB / 433.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2251, allocations: 1.672 kB / 433.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2252, allocations: 4.359 kB / 433.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2274, allocations: 1.802 MB / 435.2 MB, free: 33.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2274, allocations: 0 / 435.2 MB, free: 33.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.2279, allocations: 130.1 kB / 435.4 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008846/0.2288, allocations: 298.2 kB / 435.7 MB, free: 33.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2288, allocations: 10.78 kB / 435.7 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/0.2321, allocations: 3.001 MB / 438.7 MB, free: 31.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2321, allocations: 0 / 438.7 MB, free: 31.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.2335, allocations: 0.9381 MB / 439.6 MB, free: 31.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2337, allocations: 203.5 kB / 439.8 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.2338, allocations: 11.94 kB / 439.8 MB, free: 31.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.2341, allocations: 35.89 kB / 439.8 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.2343, allocations: 53.27 kB / 439.9 MB, free: 30.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2343, allocations: 17.41 kB / 439.9 MB, free: 30.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003781/0.2347, allocations: 345.9 kB / 440.3 MB, free: 30.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2347, allocations: 0.5 kB / 440.3 MB, free: 30.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000664/0.2353, allocations: 304.8 kB / 440.6 MB, free: 30.78 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001648/0.237, allocations: 1.548 MB / 442.1 MB, free: 29.76 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.00131/0.2383, allocations: 0.8832 MB / 443 MB, free: 29.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2383, allocations: 1.062 kB / 443 MB, free: 29.35 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.0008096/0.2392, allocations: 0.5916 MB / 443.6 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2397, allocations: 91.23 kB / 443.7 MB, free: 29 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.006998/0.2467, allocations: 6.23 MB / 449.9 MB, free: 25.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2469, allocations: 0.9359 MB / 450.8 MB, free: 24.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.2472, allocations: 84.94 kB / 450.9 MB, free: 24.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.2475, allocations: 253.6 kB / 451.2 MB, free: 24.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2475, allocations: 0 / 451.2 MB, free: 24.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2698, allocations: 16.86 MB / 468 MB, free: 9.578 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.2699, allocations: 239 kB / 468.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.075, allocations: 64 / 468.3 MB, free: 9.328 MB / 318.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","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches