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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009362/0.0009361, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.128/1.128, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05525/0.05525, allocations: 14.15 MB / 283.5 MB, free: 7.312 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.001283/0.001283, allocations: 72.47 kB / 344.5 MB, free: 19.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07642, allocations: 50.14 MB / 394.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.00983/0.08629, allocations: 7.575 MB / 402.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006348/0.09268, allocations: 3.604 MB / 405.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.09346, allocations: 23.88 kB / 405.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.09476, allocations: 366.4 kB / 406.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.09891, allocations: 1.672 MB / 407.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.09968, allocations: 466 kB / 408.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1016, allocations: 2.031 MB / 410.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1018, allocations: 126.6 kB / 410.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.1023, allocations: 0.5521 MB / 411 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.1028, allocations: 0.5639 MB / 411.6 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.1029, allocations: 28 kB / 411.6 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.1035, allocations: 339.7 kB / 411.9 MB, free: 184 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1036, allocations: 123.2 kB / 412.1 MB, free: 60 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.104, allocations: 0.505 MB / 412.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1052, allocations: 1.367 MB / 413.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1052, allocations: 4 kB / 413.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1053, allocations: 0 / 413.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1053, allocations: 0 / 413.9 MB, free: 14.17 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.003989/0.1093, allocations: 1.726 MB / 415.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1093, allocations: 12.03 kB / 415.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.1095, allocations: 130.8 kB / 415.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005262/0.11, allocations: 159.6 kB / 416 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.111, allocations: 0.6725 MB / 416.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1111, allocations: 99.62 kB / 416.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.1112, allocations: 80 kB / 416.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1123, allocations: 0.8139 MB / 417.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1124, allocations: 0 / 417.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.1124, allocations: 32 kB / 417.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1125, allocations: 24 kB / 417.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1136, allocations: 0.7728 MB / 418.5 MB, free: 9.5 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.004266/0.1179, allocations: 4.926 MB / 423.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.1194, allocations: 0.9628 MB / 424.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.1199, allocations: 328.9 kB / 424.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.1199, allocations: 9 kB / 424.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007629/0.1207, allocations: 0.6538 MB / 425.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 1.994e-06/0.1207, allocations: 0 / 425.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.004487/0.1252, allocations: 1.803 MB / 427.1 MB, free: 152 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1183/0.2435, allocations: 297.8 kB / 427.4 MB, free: 38.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.2442, allocations: 0.5021 MB / 427.9 MB, free: 38.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.2444, allocations: 41.92 kB / 428 MB, free: 38.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.2446, allocations: 362.7 kB / 428.3 MB, free: 38.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.245, allocations: 304.3 kB / 428.6 MB, free: 37.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.2452, allocations: 148.4 kB / 428.8 MB, free: 37.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2453, allocations: 384 kB / 429.1 MB, free: 37.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.2458, allocations: 242.2 kB / 429.4 MB, free: 37.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.2462, allocations: 387.5 kB / 429.7 MB, free: 37.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.247, allocations: 0.7328 MB / 430.5 MB, free: 36.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.247, allocations: 1.375 kB / 430.5 MB, free: 36.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001943/0.2489, allocations: 1.114 MB / 431.6 MB, free: 36.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.249, allocations: 72.98 kB / 431.7 MB, free: 36.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.249, allocations: 2.688 kB / 431.7 MB, free: 36.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.25, allocations: 297 kB / 432 MB, free: 36.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.2506, allocations: 161.2 kB / 432.1 MB, free: 36.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.2543, allocations: 3.029 MB / 435.1 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.2549, allocations: 57.69 kB / 435.2 MB, free: 34.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.2549, allocations: 32.8 kB / 435.2 MB, free: 34.18 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.0003096/0.2552, allocations: 275.6 kB / 435.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2553, allocations: 83.88 kB / 435.6 MB, free: 33.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.2572, allocations: 1.098 MB / 436.7 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2572, allocations: 8.281 kB / 436.7 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2572, allocations: 2.328 kB / 436.7 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2572, allocations: 3.844 kB / 436.7 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.2599, allocations: 2.09 MB / 438.8 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2599, allocations: 0 / 438.8 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.2604, allocations: 144.5 kB / 438.9 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009247/0.2614, allocations: 285.9 kB / 439.2 MB, free: 32.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.2614, allocations: 20.67 kB / 439.2 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.2649, allocations: 2.953 MB / 442.2 MB, free: 30.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2649, allocations: 0 / 442.2 MB, free: 30.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.2668, allocations: 1.158 MB / 443.3 MB, free: 29.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.2671, allocations: 224.4 kB / 443.6 MB, free: 29.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2672, allocations: 33.19 kB / 443.6 MB, free: 29.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.2676, allocations: 37.86 kB / 443.6 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.2678, allocations: 74.88 kB / 443.7 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.2678, allocations: 22.33 kB / 443.7 MB, free: 29.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003898/0.2682, allocations: 348.1 kB / 444.1 MB, free: 29.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2682, allocations: 4 kB / 444.1 MB, free: 29.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009032/0.2692, allocations: 322.5 kB / 444.4 MB, free: 29.07 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.002056/0.2712, allocations: 1.77 MB / 446.1 MB, free: 27.95 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.001702/0.2729, allocations: 1.161 MB / 447.3 MB, free: 27.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2729, allocations: 0 / 447.3 MB, free: 27.32 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.0009765/0.2739, allocations: 0.8261 MB / 448.1 MB, free: 26.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.2745, allocations: 106.6 kB / 448.2 MB, free: 26.78 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.008074/0.2826, allocations: 6.884 MB / 455.1 MB, free: 22.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.2829, allocations: 0.9642 MB / 456.1 MB, free: 21.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004032/0.2833, allocations: 104.8 kB / 456.2 MB, free: 21.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.2836, allocations: 279.3 kB / 456.5 MB, free: 21.51 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2836, allocations: 0 / 456.5 MB, free: 21.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3101, allocations: 18.3 MB / 474.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001301/0.3102, allocations: 255.6 kB / 475 MB, free: 3.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.228, allocations: 4 kB / 475 MB, free: 3.043 MB / 318.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