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.001186/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001213/0.001213, allocations: 187.8 kB / 16.25 MB, free: 6.629 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.354/1.354, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06087/0.06087, allocations: 14.15 MB / 283.6 MB, free: 7.258 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.001389/0.001389, allocations: 79.16 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09312, allocations: 50.13 MB / 394.8 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.008458/0.1016, allocations: 7.563 MB / 402.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00607/0.1078, allocations: 3.593 MB / 406 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.1084, allocations: 27.88 kB / 406 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.1095, allocations: 374.4 kB / 406.4 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.1132, allocations: 1.637 MB / 408 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.1142, allocations: 450 kB / 408.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.1168, allocations: 2.126 MB / 410.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1171, allocations: 126.6 kB / 410.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.118, allocations: 0.6146 MB / 411.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.1187, allocations: 0.6068 MB / 411.9 MB, free: 288 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.1188, allocations: 52 kB / 412 MB, free: 236 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1198, allocations: 399.7 kB / 412.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.12, allocations: 139.2 kB / 412.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.1205, allocations: 0.5519 MB / 413 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.1221, allocations: 1.394 MB / 414.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.1222, allocations: 11.98 kB / 414.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1222, allocations: 0 / 414.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1222, allocations: 0 / 414.4 MB, free: 13.73 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.00437/0.1266, allocations: 1.734 MB / 416.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1266, allocations: 16.03 kB / 416.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.1267, allocations: 122.9 kB / 416.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.1273, allocations: 167.6 kB / 416.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1284, allocations: 0.6646 MB / 417.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1285, allocations: 103.6 kB / 417.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.1286, allocations: 76 kB / 417.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.1298, allocations: 0.8139 MB / 418.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1299, allocations: 0 / 418.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1299, allocations: 36 kB / 418.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.13, allocations: 20 kB / 418.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.1311, allocations: 0.7689 MB / 419 MB, free: 9.062 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.004717/0.1359, allocations: 4.93 MB / 423.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.1375, allocations: 0.9589 MB / 424.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.1379, allocations: 336.8 kB / 425.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.138, allocations: 12.98 kB / 425.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007544/0.1388, allocations: 0.6571 MB / 425.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 3.597e-06/0.1388, allocations: 0 / 425.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.2025/0.3413, allocations: 1.797 MB / 427.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3415, allocations: 311.1 kB / 427.9 MB, free: 37.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.3423, allocations: 0.4991 MB / 428.4 MB, free: 37.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.3425, allocations: 45.14 kB / 428.5 MB, free: 37.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.3428, allocations: 356.5 kB / 428.8 MB, free: 37.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.3431, allocations: 307.4 kB / 429.1 MB, free: 37.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.3434, allocations: 145.9 kB / 429.3 MB, free: 37.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3435, allocations: 386.2 kB / 429.7 MB, free: 36.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.344, allocations: 239.8 kB / 429.9 MB, free: 36.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.3446, allocations: 385.2 kB / 430.3 MB, free: 36.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.3455, allocations: 0.7329 MB / 431 MB, free: 36.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.3455, allocations: 1.062 kB / 431 MB, free: 36.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00226/0.3478, allocations: 1.117 MB / 432.1 MB, free: 35.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.3479, allocations: 66.77 kB / 432.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3479, allocations: 2.312 kB / 432.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.349, allocations: 299.8 kB / 432.5 MB, free: 35.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.3497, allocations: 165.2 kB / 432.6 MB, free: 35.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.3541, allocations: 3.267 MB / 435.9 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.3547, allocations: 63.72 kB / 436 MB, free: 33.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.3548, allocations: 29.17 kB / 436 MB, free: 33.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.0003397/0.3551, allocations: 277.2 kB / 436.3 MB, free: 33.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3553, allocations: 91.95 kB / 436.4 MB, free: 33.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.3573, allocations: 1.1 MB / 437.5 MB, free: 32.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3574, allocations: 9.656 kB / 437.5 MB, free: 32.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3574, allocations: 0 / 437.5 MB, free: 32.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3574, allocations: 4.547 kB / 437.5 MB, free: 32.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.3605, allocations: 2.079 MB / 439.5 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3605, allocations: 1.125 kB / 439.5 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.3611, allocations: 146.9 kB / 439.7 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009882/0.3621, allocations: 288.6 kB / 440 MB, free: 31.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.3621, allocations: 20.66 kB / 440 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003806/0.3659, allocations: 3.207 MB / 443.2 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.366, allocations: 0 / 443.2 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3679, allocations: 1.162 MB / 444.4 MB, free: 28.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3682, allocations: 219.6 kB / 444.6 MB, free: 28.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3683, allocations: 21.81 kB / 444.6 MB, free: 28.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.3687, allocations: 33.83 kB / 444.6 MB, free: 28.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3689, allocations: 73.59 kB / 444.7 MB, free: 28.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.3689, allocations: 25.48 kB / 444.7 MB, free: 28.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.3693, allocations: 348.8 kB / 445.1 MB, free: 28.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3693, allocations: 0 / 445.1 MB, free: 28.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009254/0.3702, allocations: 329.9 kB / 445.4 MB, free: 28.11 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.002185/0.3724, allocations: 1.784 MB / 447.2 MB, free: 26.98 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.002099/0.3746, allocations: 1.201 MB / 448.4 MB, free: 26.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3746, allocations: 0 / 448.4 MB, free: 26.34 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.001024/0.3756, allocations: 0.8272 MB / 449.2 MB, free: 25.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.3762, allocations: 107.2 kB / 449.3 MB, free: 25.81 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.008155/0.3844, allocations: 6.889 MB / 456.2 MB, free: 21.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3847, allocations: 0.9626 MB / 457.2 MB, free: 20.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.3851, allocations: 99.73 kB / 457.3 MB, free: 20.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.3854, allocations: 279.3 kB / 457.5 MB, free: 20.27 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3854, allocations: 3.938 kB / 457.5 MB, free: 20.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.4163, allocations: 18.99 MB / 476.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.4165, allocations: 251.2 kB / 476.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.611, allocations: 4 kB / 476.8 MB, free: 1.137 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