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.001279/0.001279, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 205.1 MB / 222.4 MB, free: 4.426 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06345/0.06345, allocations: 14.16 MB / 283.9 MB, free: 6.953 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.002373/0.002373, allocations: 72.11 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08702, allocations: 50.13 MB / 395.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.007848/0.0949, allocations: 7.416 MB / 402.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.1004, allocations: 3.615 MB / 406.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.1012, allocations: 19.94 kB / 406.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1023, allocations: 421.5 kB / 406.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.1062, allocations: 1.765 MB / 408.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.1072, allocations: 493.7 kB / 409 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.1094, allocations: 2.024 MB / 411 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1096, allocations: 126.6 kB / 411.2 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007352/0.1104, allocations: 0.6889 MB / 411.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007471/0.1111, allocations: 0.6771 MB / 412.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1112, allocations: 68 kB / 412.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008018/0.1121, allocations: 403.7 kB / 413 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1122, allocations: 167.2 kB / 413.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.1127, allocations: 0.5753 MB / 413.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1141, allocations: 1.48 MB / 415.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1141, allocations: 0 / 415.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1141, allocations: 0 / 415.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1141, allocations: 0 / 415.2 MB, free: 13.15 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.004779/0.1189, allocations: 1.812 MB / 417 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1189, allocations: 8.031 kB / 417 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.1191, allocations: 130.9 kB / 417.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/0.1197, allocations: 159.6 kB / 417.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1207, allocations: 0.7038 MB / 418 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1208, allocations: 99.64 kB / 418.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.1209, allocations: 79.98 kB / 418.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1221, allocations: 0.81 MB / 419 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1222, allocations: 4 kB / 419 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.1222, allocations: 32 kB / 419 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1222, allocations: 16 kB / 419.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1235, allocations: 0.7728 MB / 419.8 MB, free: 8.367 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.006034/0.1295, allocations: 5.368 MB / 425.2 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1312, allocations: 0.9617 MB / 426.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.1317, allocations: 328.8 kB / 426.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.1317, allocations: 13 kB / 426.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/0.1325, allocations: 0.6538 MB / 427.1 MB, free: 400 kB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.234e-06/0.1325, allocations: 3.938 kB / 427.2 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.1248/0.2573, allocations: 1.802 MB / 429 MB, free: 37.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.2574, allocations: 303.5 kB / 429.2 MB, free: 37.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.258, allocations: 0.5603 MB / 429.8 MB, free: 37.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.2581, allocations: 43.11 kB / 429.9 MB, free: 37.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2583, allocations: 357.4 kB / 430.2 MB, free: 37.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.2585, allocations: 312 kB / 430.5 MB, free: 37.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.2587, allocations: 143.6 kB / 430.6 MB, free: 37.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.2588, allocations: 381.5 kB / 431 MB, free: 36.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.2592, allocations: 245.6 kB / 431.3 MB, free: 36.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.2596, allocations: 382.3 kB / 431.6 MB, free: 36.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.2605, allocations: 0.7307 MB / 432.4 MB, free: 36.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2605, allocations: 1.062 kB / 432.4 MB, free: 36.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001944/0.2624, allocations: 1.117 MB / 433.5 MB, free: 35.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.2625, allocations: 65.94 kB / 433.5 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2625, allocations: 8.312 kB / 433.6 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.2636, allocations: 300 kB / 433.8 MB, free: 35.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.2642, allocations: 170 kB / 434 MB, free: 35.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.2683, allocations: 3.317 MB / 437.3 MB, free: 33.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.2689, allocations: 52.73 kB / 437.4 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.269, allocations: 32.77 kB / 437.4 MB, free: 33.04 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.0002806/0.2693, allocations: 283 kB / 437.7 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2694, allocations: 87.42 kB / 437.8 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.2713, allocations: 1.089 MB / 438.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2714, allocations: 11.31 kB / 438.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2714, allocations: 0 / 438.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2714, allocations: 4.359 kB / 438.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.2744, allocations: 2.211 MB / 441.1 MB, free: 31.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2744, allocations: 3.609 kB / 441.1 MB, free: 31.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.275, allocations: 137.4 kB / 441.2 MB, free: 31.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/0.2759, allocations: 290.5 kB / 441.5 MB, free: 30.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.276, allocations: 16.91 kB / 441.5 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.2797, allocations: 3.245 MB / 444.8 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2797, allocations: 6.125 kB / 444.8 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.2815, allocations: 1.157 MB / 445.9 MB, free: 28.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.2818, allocations: 247.3 kB / 446.2 MB, free: 27.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2819, allocations: 18.56 kB / 446.2 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.2825, allocations: 28.67 kB / 446.2 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2826, allocations: 62.81 kB / 446.3 MB, free: 27.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.2827, allocations: 25.72 kB / 446.3 MB, free: 27.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.2831, allocations: 392.8 kB / 446.7 MB, free: 27.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2831, allocations: 0 / 446.7 MB, free: 27.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008472/0.2839, allocations: 361 kB / 447 MB, free: 27.62 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.002038/0.286, allocations: 1.78 MB / 448.8 MB, free: 26.5 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.001981/0.288, allocations: 1.201 MB / 450 MB, free: 25.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.288, allocations: 4.062 kB / 450 MB, free: 25.84 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.0009581/0.2889, allocations: 0.8326 MB / 450.9 MB, free: 25.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.2896, allocations: 127.6 kB / 451 MB, free: 25.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.007605/0.2972, allocations: 6.88 MB / 457.9 MB, free: 20.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2975, allocations: 0.9705 MB / 458.8 MB, free: 19.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.2979, allocations: 95.25 kB / 458.9 MB, free: 19.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.2982, allocations: 287.3 kB / 459.2 MB, free: 18.87 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2982, allocations: 4 kB / 459.2 MB, free: 18.87 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.3351, allocations: 20.94 MB / 480.2 MB, free: 14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.36, allocations: 11.75 kB / 480.2 MB, free: 13.98 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","/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