Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001059/0.001059, allocations: 95.25 kB / 15.69 MB, free: 480 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.001792/0.001792, allocations: 178.1 kB / 16.57 MB, free: 6.387 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.742/1.742, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05908/0.05908, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0004991/0.0004992, allocations: 16 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 51.12 MB / 397.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad): time 0.009496/0.1278, allocations: 9.787 MB / 407.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.1362, allocations: 4.688 MB / 412.4 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1374, allocations: 39.81 kB / 412.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1387, allocations: 481.4 kB / 412.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.1438, allocations: 2.047 MB / 414.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1448, allocations: 494.1 kB / 415.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0045/0.1493, allocations: 2.574 MB / 418 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.1498, allocations: 217.7 kB / 418.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1515, allocations: 0.9887 MB / 419.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1526, allocations: 0.9223 MB / 420.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1528, allocations: 48 kB / 420.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1539, allocations: 379.7 kB / 420.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1541, allocations: 202.9 kB / 420.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.1545, allocations: 372.8 kB / 421.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.1564, allocations: 1.703 MB / 422.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1564, allocations: 0 / 422.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1564, allocations: 0 / 422.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.1565, allocations: 3.938 kB / 422.8 MB, free: 7.773 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.007952/0.1644, allocations: 2.525 MB / 425.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1645, allocations: 16.02 kB / 425.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.1658, allocations: 285.7 kB / 425.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.168, allocations: 1.023 MB / 426.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/0.1683, allocations: 178.1 kB / 426.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.1685, allocations: 140 kB / 426.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.1708, allocations: 1.415 MB / 428.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1709, allocations: 0 / 428.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.171, allocations: 60 kB / 428.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.171, allocations: 39.98 kB / 428.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.1733, allocations: 1.384 MB / 429.8 MB, free: 500 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.2302/0.4036, allocations: 8.841 MB / 438.7 MB, free: 29.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.4066, allocations: 1.524 MB / 440.2 MB, free: 28.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.4068, allocations: 17.62 kB / 440.2 MB, free: 28.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/0.4087, allocations: 1.196 MB / 441.4 MB, free: 27.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.787e-06/0.4087, allocations: 0 / 441.4 MB, free: 27.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.009829/0.4186, allocations: 3.292 MB / 444.7 MB, free: 26.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.4188, allocations: 0.5453 MB / 445.3 MB, free: 25.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.4204, allocations: 0.7876 MB / 446 MB, free: 25.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4206, allocations: 56.45 kB / 446.1 MB, free: 25.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.4212, allocations: 0.5958 MB / 446.7 MB, free: 24.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.4218, allocations: 0.536 MB / 447.2 MB, free: 24.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.4219, allocations: 33.38 kB / 447.3 MB, free: 24.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.422, allocations: 362.8 kB / 447.6 MB, free: 24.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.4229, allocations: 441.6 kB / 448 MB, free: 23.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.4239, allocations: 0.6877 MB / 448.7 MB, free: 23.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.4249, allocations: 0.6281 MB / 449.4 MB, free: 23.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.4249, allocations: 2.812 kB / 449.4 MB, free: 23.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003544/0.4284, allocations: 1.933 MB / 451.3 MB, free: 22.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.4285, allocations: 134.4 kB / 451.4 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4286, allocations: 6.812 kB / 451.4 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.43, allocations: 460.3 kB / 451.9 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4313, allocations: 321.3 kB / 452.2 MB, free: 21.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.4373, allocations: 4.171 MB / 456.4 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4387, allocations: 96.73 kB / 456.5 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.4388, allocations: 59.44 kB / 456.5 MB, free: 19.19 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.0007232/0.4396, allocations: 428.6 kB / 456.9 MB, free: 18.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.4398, allocations: 150.5 kB / 457.1 MB, free: 18.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.4427, allocations: 1.885 MB / 459 MB, free: 17.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4427, allocations: 15.72 kB / 459 MB, free: 17.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4427, allocations: 0 / 459 MB, free: 17.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4427, allocations: 7.969 kB / 459 MB, free: 17.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.4472, allocations: 3.419 MB / 462.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4473, allocations: 0.875 kB / 462.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.4482, allocations: 265.9 kB / 462.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.4494, allocations: 428.4 kB / 463.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.4495, allocations: 39.25 kB / 463.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.4544, allocations: 4.084 MB / 467.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4544, allocations: 3.984 kB / 467.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.4582, allocations: 3.29 MB / 470.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.4587, allocations: 331.2 kB / 470.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.4589, allocations: 39.94 kB / 470.9 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.4596, allocations: 67.59 kB / 470.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.4599, allocations: 133.8 kB / 471.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.46, allocations: 40 kB / 471.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005755/0.4605, allocations: 0.5287 MB / 471.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4605, allocations: 0 / 471.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00182/0.4624, allocations: 0.5553 MB / 472.2 MB, free: 6.309 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.0004279/0.4628, allocations: 244.3 kB / 472.4 MB, free: 6.074 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.002749/0.4656, allocations: 1.989 MB / 474.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4656, allocations: 0 / 474.4 MB, free: 4.027 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.001561/0.4672, allocations: 1.396 MB / 475.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.4678, allocations: 132.2 kB / 475.9 MB, free: 2.473 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.004936/0.4727, allocations: 3.56 MB / 479.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.4737, allocations: 1.271 MB / 480.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008203/0.4745, allocations: 181.9 kB / 481 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4747, allocations: 79.44 kB / 481 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4748, allocations: 0 / 481 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.0297/0.5045, allocations: 17.23 MB / 498.3 MB, free: 12.2 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.pipe 2>&1) Environment - environmentSimulation: