Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",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.006919/0.006919, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.00139/0.00139, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0636/0.0636, allocations: 14.16 MB / 284.1 MB, free: 6.973 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.001668/0.001668, allocations: 67.89 kB / 396 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2997, allocations: 50.14 MB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.007464/0.3072, allocations: 7.418 MB / 453.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.3143, allocations: 3.598 MB / 457.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.3159, allocations: 20.06 kB / 457.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.3178, allocations: 430.1 kB / 457.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005895/0.3237, allocations: 1.762 MB / 459.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3252, allocations: 489.5 kB / 459.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003704/0.3289, allocations: 2.033 MB / 461.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.3294, allocations: 137.1 kB / 462 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.331, allocations: 0.6939 MB / 462.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.3327, allocations: 0.6821 MB / 463.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.3331, allocations: 66.69 kB / 463.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.335, allocations: 416.7 kB / 463.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.3353, allocations: 162.7 kB / 464 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.3368, allocations: 0.5809 MB / 464.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.3403, allocations: 1.556 MB / 466.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3404, allocations: 1.344 kB / 466.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3404, allocations: 0 / 466.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.3404, allocations: 0 / 466.1 MB, free: 3.039 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006495/0.3469, allocations: 1.787 MB / 467.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.347, allocations: 8.031 kB / 467.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.3472, allocations: 126.9 kB / 468.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008753/0.3481, allocations: 163.7 kB / 468.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.3499, allocations: 0.7038 MB / 468.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.35, allocations: 107.6 kB / 469 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3502, allocations: 76 kB / 469.1 MB, free: 0 / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3518, allocations: 0.8178 MB / 469.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.3519, allocations: 0 / 469.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.3519, allocations: 32 kB / 470 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.352, allocations: 20 kB / 470 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.3534, allocations: 0.7689 MB / 470.7 MB, free: 14.32 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.007714/0.3611, allocations: 5.352 MB / 476.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3629, allocations: 0.9659 MB / 477.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.3634, allocations: 327.8 kB / 477.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.3635, allocations: 12.94 kB / 477.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000892/0.3644, allocations: 0.6538 MB / 478 MB, free: 6.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 3.567e-06/0.3644, allocations: 0 / 478 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.005424/0.3699, allocations: 1.803 MB / 479.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.3701, allocations: 303.7 kB / 480.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.3711, allocations: 0.55 MB / 480.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.3712, allocations: 49.69 kB / 480.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.3715, allocations: 360.3 kB / 481.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.3719, allocations: 307.5 kB / 481.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.3722, allocations: 142.6 kB / 481.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3724, allocations: 386.7 kB / 481.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.3728, allocations: 241.9 kB / 482.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.3733, allocations: 387.7 kB / 482.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3744, allocations: 0.7321 MB / 483.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3744, allocations: 4 kB / 483.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002408/0.3768, allocations: 1.102 MB / 484.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.3769, allocations: 71.7 kB / 484.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3769, allocations: 7.938 kB / 484.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.378, allocations: 299.1 kB / 484.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.3787, allocations: 163.8 kB / 484.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.3838, allocations: 3.302 MB / 488.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.3848, allocations: 63.53 kB / 488.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.385, allocations: 31.98 kB / 488.3 MB, free: 11.69 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: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB,$PRE.transmissionLine.breakerStatusInternalA,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.000496/0.3855, allocations: 283.6 kB / 488.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3858, allocations: 91 kB / 488.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.388, allocations: 1.09 MB / 489.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3881, allocations: 8 kB / 489.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.3881, allocations: 0 / 489.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3881, allocations: 11.91 kB / 489.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.392, allocations: 2.204 MB / 492 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3921, allocations: 0 / 492 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.3927, allocations: 139.8 kB / 492.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3937, allocations: 289 kB / 492.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-05/0.3938, allocations: 23.94 kB / 492.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/0.3988, allocations: 3.24 MB / 495.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3989, allocations: 0 / 495.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4014, allocations: 1.162 MB / 496.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/0.402, allocations: 243.9 kB / 497 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.4022, allocations: 20 kB / 497.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.4029, allocations: 23.94 kB / 497.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.4031, allocations: 76.88 kB / 497.2 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.4032, allocations: 24 kB / 497.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.4037, allocations: 394.8 kB / 497.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4038, allocations: 4 kB / 497.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001323/0.4051, allocations: 351.7 kB / 497.9 MB, free: 1.746 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: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.002879/0.408, allocations: 1.788 MB / 499.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.4102, allocations: 1.173 MB / 0.4891 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4102, allocations: 0 / 0.4891 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4115, allocations: 0.8345 MB / 0.49 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4126, allocations: 129.3 kB / 0.4901 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4246, allocations: 6.629 MB / 0.4966 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.4254, allocations: 0.959 MB / 0.4975 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.4259, allocations: 97.67 kB / 0.4976 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.4264, allocations: 283.3 kB / 0.4979 GB, free: 5.543 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4265, allocations: 3.938 kB / 0.4979 GB, free: 5.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/0.4838, allocations: 21.91 MB / 0.5193 GB, free: 15.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.59, allocations: 7.688 kB / 0.5193 GB, free: 15.6 MB / 414.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches