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.000707/0.000707, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005193/0.005194, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.225/1.225, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05595/0.05595, allocations: 14.16 MB / 284.9 MB, free: 7.027 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.0004497/0.0004498, allocations: 16.64 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07671, allocations: 51.11 MB / 398 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.005813/0.08257, allocations: 7.085 MB / 405.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.08678, allocations: 3.534 MB / 408.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.08712, allocations: 23.88 kB / 408.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.08783, allocations: 370.4 kB / 409 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.09063, allocations: 1.652 MB / 410.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.09136, allocations: 454.6 kB / 411.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.09321, allocations: 2.028 MB / 413.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.09341, allocations: 118.6 kB / 413.2 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.09397, allocations: 0.552 MB / 413.8 MB, free: 420 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.09451, allocations: 0.5677 MB / 414.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.09458, allocations: 28 kB / 414.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.09515, allocations: 335.7 kB / 414.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.09525, allocations: 123.2 kB / 414.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.09566, allocations: 0.5263 MB / 415.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.09678, allocations: 1.331 MB / 416.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.09679, allocations: 0 / 416.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0968, allocations: 0 / 416.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.09681, allocations: 0 / 416.7 MB, free: 13.49 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003814/0.1006, allocations: 1.559 MB / 418.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1007, allocations: 8.031 kB / 418.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.1008, allocations: 126.9 kB / 418.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/0.1014, allocations: 159.7 kB / 418.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.1023, allocations: 0.6723 MB / 419.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1024, allocations: 107.6 kB / 419.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.1025, allocations: 80 kB / 419.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1037, allocations: 0.8139 MB / 420.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1037, allocations: 3.938 kB / 420.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.1038, allocations: 32 kB / 420.2 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1038, allocations: 20 kB / 420.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1049, allocations: 0.765 MB / 421 MB, free: 8.996 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.004114/0.1091, allocations: 4.93 MB / 425.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.1106, allocations: 0.9627 MB / 426.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.111, allocations: 336.8 kB / 427.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1111, allocations: 9 kB / 427.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.1118, allocations: 0.6422 MB / 427.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.385e-06/0.1118, allocations: 3.938 kB / 427.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.1437/0.2556, allocations: 1.813 MB / 429.7 MB, free: 25.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.2557, allocations: 305 kB / 430 MB, free: 25.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.2562, allocations: 0.5021 MB / 430.5 MB, free: 24.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.2563, allocations: 43.89 kB / 430.5 MB, free: 24.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.2565, allocations: 359.5 kB / 430.9 MB, free: 24.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.2567, allocations: 308.1 kB / 431.2 MB, free: 24.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.2568, allocations: 74 kB / 431.3 MB, free: 24.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.2569, allocations: 380.4 kB / 431.6 MB, free: 24.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.2572, allocations: 243.2 kB / 431.9 MB, free: 24.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.2576, allocations: 381.8 kB / 432.2 MB, free: 24.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.2585, allocations: 0.7304 MB / 433 MB, free: 24.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2585, allocations: 3.812 kB / 433 MB, free: 24.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001909/0.2604, allocations: 1.113 MB / 434.1 MB, free: 23.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.2604, allocations: 68.72 kB / 434.2 MB, free: 23.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2605, allocations: 4.938 kB / 434.2 MB, free: 23.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000978/0.2614, allocations: 297.1 kB / 434.5 MB, free: 23.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.2621, allocations: 164.1 kB / 434.6 MB, free: 23.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.2657, allocations: 3.018 MB / 437.6 MB, free: 22.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.2662, allocations: 63.14 kB / 437.7 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.2663, allocations: 34.14 kB / 437.7 MB, free: 22.42 MB / 318.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.0002865/0.2666, allocations: 275.5 kB / 438 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2667, allocations: 83.72 kB / 438.1 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.2686, allocations: 1.1 MB / 439.2 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2686, allocations: 9.312 kB / 439.2 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2686, allocations: 0 / 439.2 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2686, allocations: 4.219 kB / 439.2 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2713, allocations: 2.089 MB / 441.3 MB, free: 21.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2714, allocations: 1.375 kB / 441.3 MB, free: 21.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.2719, allocations: 135.6 kB / 441.4 MB, free: 21.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009316/0.2729, allocations: 295.2 kB / 441.7 MB, free: 21.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.2729, allocations: 21.31 kB / 441.7 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.2765, allocations: 2.957 MB / 444.7 MB, free: 19.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2765, allocations: 4 kB / 444.7 MB, free: 19.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.2783, allocations: 1.156 MB / 445.8 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.2786, allocations: 219 kB / 446.1 MB, free: 18.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.2787, allocations: 22.92 kB / 446.1 MB, free: 18.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.2791, allocations: 47.19 kB / 446.1 MB, free: 18.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.2792, allocations: 67.86 kB / 446.2 MB, free: 18.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.2793, allocations: 22 kB / 446.2 MB, free: 18.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.2796, allocations: 348.9 kB / 446.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2796, allocations: 0 / 446.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008254/0.2805, allocations: 321.8 kB / 446.9 MB, free: 18.32 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: 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.001994/0.2825, allocations: 1.778 MB / 448.6 MB, free: 17.21 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.001602/0.2841, allocations: 1.155 MB / 449.8 MB, free: 16.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2841, allocations: 0 / 449.8 MB, free: 16.61 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.0009349/0.285, allocations: 0.8293 MB / 450.6 MB, free: 16.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.2856, allocations: 97.98 kB / 450.7 MB, free: 16.09 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.007563/0.2932, allocations: 6.923 MB / 457.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2935, allocations: 0.9634 MB / 458.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.2938, allocations: 108.9 kB / 458.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.2941, allocations: 282.1 kB / 459 MB, free: 11.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2941, allocations: 0 / 459 MB, free: 11.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6938/0.9879, allocations: 18.01 MB / 477 MB, free: 10.37 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.9882, allocations: 262.8 kB / 477.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.094, allocations: 0 / 477.3 MB, free: 10.11 MB / 334.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","../files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches