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.001525/0.001525, 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.001743/0.001743, allocations: 193.4 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06324/0.06324, allocations: 14.16 MB / 283.9 MB, free: 7.082 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.002066/0.002067, allocations: 67.91 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1233, allocations: 50.13 MB / 395.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.009577/0.1329, allocations: 7.424 MB / 402.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006814/0.1398, allocations: 3.612 MB / 406.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.1414, allocations: 19.94 kB / 406.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.1437, allocations: 429.5 kB / 406.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005871/0.1496, allocations: 1.753 MB / 408.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1508, allocations: 0.4893 MB / 409 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.154, allocations: 2.009 MB / 411 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.1543, allocations: 134.6 kB / 411.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.1554, allocations: 0.6811 MB / 411.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.1562, allocations: 0.685 MB / 412.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1564, allocations: 68 kB / 412.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1575, allocations: 407.5 kB / 413 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1577, allocations: 171.2 kB / 413.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.1584, allocations: 0.5753 MB / 413.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1605, allocations: 1.48 MB / 415.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1605, allocations: 0 / 415.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1605, allocations: 0 / 415.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1606, allocations: 0 / 415.2 MB, free: 13.13 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.005418/0.166, allocations: 1.812 MB / 417 MB, free: 11.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.166, allocations: 12.03 kB / 417 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.1662, allocations: 126.8 kB / 417.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.1668, allocations: 159.6 kB / 417.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.168, allocations: 0.696 MB / 418 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1681, allocations: 103.6 kB / 418.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.862e-05/0.1682, allocations: 76 kB / 418.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.1696, allocations: 0.8178 MB / 419 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1696, allocations: 0 / 419 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.1697, allocations: 32 kB / 419 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1697, allocations: 20 kB / 419.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.171, allocations: 0.7689 MB / 419.8 MB, free: 8.352 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.006702/0.1777, allocations: 5.368 MB / 425.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.1793, allocations: 0.9655 MB / 426.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.1798, allocations: 328.9 kB / 426.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-05/0.1799, allocations: 16.97 kB / 426.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/0.1807, allocations: 0.6499 MB / 427.1 MB, free: 380 kB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.1807, allocations: 3.938 kB / 427.2 MB, free: 376 kB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.1715/0.3523, allocations: 1.8 MB / 429 MB, free: 37.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.3524, allocations: 304.5 kB / 429.2 MB, free: 37.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.3534, allocations: 0.5602 MB / 429.8 MB, free: 37.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/0.3535, allocations: 48.16 kB / 429.9 MB, free: 37.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.3538, allocations: 354.1 kB / 430.2 MB, free: 37.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.3541, allocations: 308.5 kB / 430.5 MB, free: 36.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.3543, allocations: 145.7 kB / 430.6 MB, free: 36.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3545, allocations: 381.6 kB / 431 MB, free: 36.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.3549, allocations: 242 kB / 431.3 MB, free: 36.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.3554, allocations: 388 kB / 431.6 MB, free: 36.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.3564, allocations: 0.728 MB / 432.4 MB, free: 35.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3564, allocations: 2.125 kB / 432.4 MB, free: 35.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002226/0.3586, allocations: 1.118 MB / 433.5 MB, free: 35.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.3587, allocations: 65.06 kB / 433.5 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.3587, allocations: 3.469 kB / 433.5 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3599, allocations: 306.1 kB / 433.8 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.3606, allocations: 162.8 kB / 434 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.366, allocations: 3.324 MB / 437.3 MB, free: 32.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.3672, allocations: 54.88 kB / 437.4 MB, free: 32.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.3673, allocations: 28.22 kB / 437.4 MB, free: 32.78 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.000621/0.368, allocations: 270.1 kB / 437.7 MB, free: 32.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3682, allocations: 84.7 kB / 437.8 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.3705, allocations: 1.101 MB / 438.9 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3706, allocations: 8.25 kB / 438.9 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3706, allocations: 2.594 kB / 438.9 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3706, allocations: 7.125 kB / 438.9 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.3746, allocations: 2.218 MB / 441.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3746, allocations: 0 / 441.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.3752, allocations: 138 kB / 441.2 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.3763, allocations: 288.9 kB / 441.5 MB, free: 30.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.3764, allocations: 19.44 kB / 441.5 MB, free: 30.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.3809, allocations: 3.245 MB / 444.8 MB, free: 28.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3809, allocations: 6.094 kB / 444.8 MB, free: 28.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.3834, allocations: 1.16 MB / 445.9 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.384, allocations: 240.2 kB / 446.2 MB, free: 27.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3842, allocations: 22.56 kB / 446.2 MB, free: 27.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.3847, allocations: 27.72 kB / 446.2 MB, free: 27.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3849, allocations: 65.78 kB / 446.3 MB, free: 27.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.385, allocations: 25.78 kB / 446.3 MB, free: 27.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.3855, allocations: 391.9 kB / 446.7 MB, free: 27.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3856, allocations: 1.375 kB / 446.7 MB, free: 27.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001518/0.3871, allocations: 353.1 kB / 447 MB, free: 27.36 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.002399/0.3895, allocations: 1.785 MB / 448.8 MB, free: 26.23 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.002559/0.3921, allocations: 1.203 MB / 450 MB, free: 25.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3921, allocations: 256 / 450 MB, free: 25.57 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.001056/0.3931, allocations: 0.8298 MB / 450.9 MB, free: 25.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.394, allocations: 130.1 kB / 451 MB, free: 25.02 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.009049/0.4031, allocations: 6.887 MB / 457.9 MB, free: 19.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4035, allocations: 0.959 MB / 458.8 MB, free: 18.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004548/0.4039, allocations: 94.28 kB / 458.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.4042, allocations: 294.8 kB / 459.2 MB, free: 18.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4042, allocations: 0 / 459.2 MB, free: 18.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.4489, allocations: 20.94 MB / 480.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 11.81 kB / 480.2 MB, free: 13.66 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.csv","/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