Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 105 kB / 16.97 MB, free: 6.168 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.001847/0.001848, allocations: 184.9 kB / 17.89 MB, free: 5.266 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.454/1.454, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06284/0.06284, allocations: 14.18 MB / 285.3 MB, free: 13.91 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.002187/0.002187, allocations: 72.12 kB / 346.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2159, allocations: 50.13 MB / 396.6 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB): time 0.008256/0.2242, allocations: 12 MB / 408.6 MB, free: 38.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.2301, allocations: 5.086 MB / 413.7 MB, free: 34.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.2307, allocations: 37.66 kB / 413.7 MB, free: 34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2318, allocations: 0.6492 MB / 414.4 MB, free: 33.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.2356, allocations: 2.379 MB / 416.8 MB, free: 31.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.2365, allocations: 0.5819 MB / 417.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.2388, allocations: 3.594 MB / 420.9 MB, free: 27.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.2391, allocations: 253.3 kB / 421.2 MB, free: 27.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008494/0.24, allocations: 1.203 MB / 422.4 MB, free: 25.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/0.2409, allocations: 1.214 MB / 423.6 MB, free: 24.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.241, allocations: 123.9 kB / 423.7 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.2418, allocations: 0.5036 MB / 424.2 MB, free: 24.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.242, allocations: 302.5 kB / 424.5 MB, free: 23.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.2425, allocations: 1.015 MB / 425.5 MB, free: 22.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.2441, allocations: 2.486 MB / 428 MB, free: 20.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2441, allocations: 7.875 kB / 428 MB, free: 20.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2441, allocations: 4 kB / 428 MB, free: 20.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.2441, allocations: 0 / 428 MB, free: 20.2 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.007496/0.2516, allocations: 2.962 MB / 431 MB, free: 17.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2517, allocations: 8.031 kB / 431 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009457/0.2526, allocations: 282.7 kB / 431.3 MB, free: 16.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.2542, allocations: 1.113 MB / 432.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.2543, allocations: 178.1 kB / 432.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.2544, allocations: 140 kB / 432.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.2562, allocations: 1.438 MB / 434.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.2562, allocations: 7.938 kB / 434.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.2563, allocations: 60 kB / 434.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.2564, allocations: 39.98 kB / 434.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.2582, allocations: 1.392 MB / 435.6 MB, free: 12.36 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.008327/0.2665, allocations: 9.568 MB / 445.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.2687, allocations: 1.545 MB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.2695, allocations: 0.593 MB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-05/0.2696, allocations: 17.31 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.271, allocations: 1.213 MB / 448.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=168): time 3.046e-06/0.271, allocations: 0 / 448.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=168): time 0.009018/0.2801, allocations: 3.242 MB / 451.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.2803, allocations: 0.5462 MB / 452.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2814, allocations: 0.8885 MB / 453.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.2815, allocations: 65.69 kB / 453.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.2819, allocations: 0.5746 MB / 453.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.2823, allocations: 0.5467 MB / 454.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.2827, allocations: 255.5 kB / 454.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.2828, allocations: 301.1 kB / 455 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.2836, allocations: 455.8 kB / 455.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.2845, allocations: 0.6931 MB / 456.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.2862, allocations: 1.358 MB / 457.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2862, allocations: 8 kB / 457.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003416/0.2896, allocations: 1.947 MB / 459.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.2897, allocations: 130.8 kB / 459.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2897, allocations: 4 kB / 459.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.2912, allocations: 456.9 kB / 460 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.2924, allocations: 323.6 kB / 460.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/0.2991, allocations: 4.442 MB / 464.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3003, allocations: 99.27 kB / 464.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.3004, allocations: 60 kB / 464.9 MB, free: 13.34 MB / 350.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 (transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalA,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatus,$PRE.transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatus,$PRE.transmissionLine1.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$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 (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 4 * 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 {(6,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005912/0.301, allocations: 428.8 kB / 465.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.3012, allocations: 154.2 kB / 465.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.3046, allocations: 1.89 MB / 467.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3047, allocations: 16 kB / 467.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3047, allocations: 4 kB / 467.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.3047, allocations: 11.91 kB / 467.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.3101, allocations: 3.654 MB / 471.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3101, allocations: 0 / 471.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.3112, allocations: 263.7 kB / 471.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.3125, allocations: 424.1 kB / 471.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.3126, allocations: 35.98 kB / 471.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.3186, allocations: 4.351 MB / 476.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3186, allocations: 3.984 kB / 476.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.3235, allocations: 3.539 MB / 479.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/0.3242, allocations: 363.1 kB / 480 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3244, allocations: 36 kB / 480.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/0.3253, allocations: 48.05 kB / 480.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.3256, allocations: 133.1 kB / 480.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.3257, allocations: 44 kB / 480.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000786/0.3265, allocations: 0.6027 MB / 480.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3265, allocations: 0 / 480.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001582/0.3281, allocations: 0.6166 MB / 481.5 MB, free: 12.36 MB / 366.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: 19 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,transmissionLine1.breakerStatus,transmissionLine1.breakerStatusInternalB,transmissionLine2.breakerStatus) * Number of discrete states: 19 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine1.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine1.breakerStatusInternalB) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * 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 {(6,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/0.3284, allocations: 237.6 kB / 481.7 MB, free: 12.12 MB / 366.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.002976/0.3314, allocations: 2.011 MB / 483.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3314, allocations: 0 / 483.8 MB, free: 10.05 MB / 366.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.001887/0.3333, allocations: 1.41 MB / 485.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.3343, allocations: 215.3 kB / 485.4 MB, free: 8.391 MB / 366.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.004243/0.3385, allocations: 3.168 MB / 488.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.3393, allocations: 1.244 MB / 489.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.3397, allocations: 103.4 kB / 489.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3397, allocations: 0 / 489.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of Templates: time 0.02868/0.3684, allocations: 25.64 MB / 0.5034 GB, free: 10.22 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortB.pipe 2>&1)