Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.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.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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: translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001362/0.001362, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06138/0.06138, allocations: 14.16 MB / 284.5 MB, free: 7.133 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.0005216/0.0005221, allocations: 20.22 kB / 346.1 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09224, allocations: 51.11 MB / 397.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad): time 0.008964/0.1012, allocations: 9.794 MB / 407 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.1088, allocations: 4.691 MB / 411.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.11, allocations: 35.88 kB / 411.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1113, allocations: 477.3 kB / 412.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.1168, allocations: 2.055 MB / 414.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1181, allocations: 494.8 kB / 414.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.1232, allocations: 2.574 MB / 417.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.1238, allocations: 205.7 kB / 417.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.1256, allocations: 0.9926 MB / 418.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.1267, allocations: 0.9223 MB / 419.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.1269, allocations: 52 kB / 419.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.128, allocations: 375.7 kB / 419.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1282, allocations: 198.9 kB / 420.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.1286, allocations: 376.8 kB / 420.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.1306, allocations: 1.711 MB / 422.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1306, allocations: 0 / 422.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1306, allocations: 0 / 422.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.1306, allocations: 0 / 422.1 MB, free: 7.742 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007499/0.1382, allocations: 2.521 MB / 424.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1382, allocations: 12.03 kB / 424.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1393, allocations: 285.7 kB / 425 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.1413, allocations: 1.027 MB / 426 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.1414, allocations: 186 kB / 426.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1416, allocations: 136 kB / 426.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.1438, allocations: 1.411 MB / 427.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1438, allocations: 0 / 427.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.1439, allocations: 64 kB / 427.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.144, allocations: 32 kB / 427.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.1462, allocations: 1.388 MB / 429.2 MB, free: 472 kB / 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.1816/0.3278, allocations: 8.844 MB / 438 MB, free: 29.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.3307, allocations: 1.527 MB / 439.6 MB, free: 28.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.55e-05/0.3308, allocations: 16.03 kB / 439.6 MB, free: 28.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.3322, allocations: 1.198 MB / 440.8 MB, free: 27.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.506e-06/0.3322, allocations: 4.469 kB / 440.8 MB, free: 27.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.009114/0.3413, allocations: 3.292 MB / 444.1 MB, free: 26.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.3415, allocations: 0.5435 MB / 444.6 MB, free: 25.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3426, allocations: 0.7855 MB / 445.4 MB, free: 25.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/0.3427, allocations: 57 kB / 445.5 MB, free: 25.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.3432, allocations: 0.5954 MB / 446.1 MB, free: 24.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.3436, allocations: 0.5364 MB / 446.6 MB, free: 24.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.3437, allocations: 33.25 kB / 446.6 MB, free: 24.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3438, allocations: 363.3 kB / 447 MB, free: 24.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.3446, allocations: 444.5 kB / 447.4 MB, free: 23.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.3455, allocations: 0.6825 MB / 448.1 MB, free: 23.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.3463, allocations: 0.6291 MB / 448.7 MB, free: 23.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3463, allocations: 5.875 kB / 448.7 MB, free: 23.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003183/0.3495, allocations: 1.931 MB / 450.7 MB, free: 22.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.3496, allocations: 134.2 kB / 450.8 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3496, allocations: 6.312 kB / 450.8 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.351, allocations: 459.2 kB / 451.2 MB, free: 21.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3522, allocations: 319.5 kB / 451.6 MB, free: 21.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.3581, allocations: 4.175 MB / 455.7 MB, free: 19.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.3591, allocations: 94.31 kB / 455.8 MB, free: 19.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.3592, allocations: 59.56 kB / 455.9 MB, free: 19.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 28 (transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$PRE.transmissionLine1.breakerStatus,transmissionLine1.breakerStatus,$PRE.transmissionLine2.breakerStatus,transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of prepare postOptimizeDAE: time 0.0005607/0.3598, allocations: 427.7 kB / 456.3 MB, free: 18.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.36, allocations: 151.9 kB / 456.4 MB, free: 18.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.3628, allocations: 1.886 MB / 458.3 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3628, allocations: 11.78 kB / 458.3 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3628, allocations: 3.938 kB / 458.3 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3629, allocations: 7.969 kB / 458.4 MB, free: 17.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.3671, allocations: 3.42 MB / 461.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3671, allocations: 0 / 461.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3681, allocations: 264.2 kB / 462 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3693, allocations: 432.7 kB / 462.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.3694, allocations: 35.88 kB / 462.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.3741, allocations: 4.078 MB / 466.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3742, allocations: 0 / 466.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3769, allocations: 1.923 MB / 468.5 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.3774, allocations: 335.1 kB / 468.8 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.3776, allocations: 39.98 kB / 468.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.3783, allocations: 59.58 kB / 468.9 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.3786, allocations: 134.8 kB / 469 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.3786, allocations: 47.98 kB / 469.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005321/0.3792, allocations: 0.5209 MB / 469.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3792, allocations: 0 / 469.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00132/0.3805, allocations: 0.5592 MB / 470.2 MB, free: 7.66 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: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine2.breakerStatus) * Number of discrete states: 18 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003173/0.3808, allocations: 244.8 kB / 470.4 MB, free: 7.422 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created initialization part: time 0.002518/0.3834, allocations: 2 MB / 472.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3834, allocations: 0 / 472.4 MB, free: 5.363 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created simulation system equations: time 0.001452/0.3848, allocations: 1.388 MB / 473.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.3855, allocations: 132.2 kB / 473.9 MB, free: 3.809 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.3887, allocations: 2.777 MB / 476.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.3893, allocations: 1.218 MB / 477.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008416/0.3902, allocations: 181.9 kB / 478.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.3904, allocations: 83.42 kB / 478.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3904, allocations: 0 / 478.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Templates: time 0.02934/0.4198, allocations: 17.23 MB / 495.4 MB, free: 14.39 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe 2>&1) Environment - environmentSimulation: