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.001396/0.001396, 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.002301/0.002301, 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.307/1.307, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06474/0.06474, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.001388/0.001389, allocations: 64.12 kB / 346.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2013, allocations: 50.13 MB / 396.6 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad): time 0.008379/0.2097, allocations: 11.94 MB / 408.6 MB, free: 38.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.2166, allocations: 5.079 MB / 413.6 MB, free: 34.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.218, allocations: 40.72 kB / 413.7 MB, free: 34.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.2194, allocations: 0.6524 MB / 414.3 MB, free: 33.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.2243, allocations: 2.386 MB / 416.7 MB, free: 31.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.2253, allocations: 0.5795 MB / 417.3 MB, free: 30.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.2283, allocations: 3.586 MB / 420.9 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.2286, allocations: 228.5 kB / 421.1 MB, free: 27.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.2297, allocations: 1.203 MB / 422.3 MB, free: 25.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009794/0.2307, allocations: 1.214 MB / 423.5 MB, free: 24.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2309, allocations: 120 kB / 423.6 MB, free: 24.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.2319, allocations: 0.5114 MB / 424.2 MB, free: 24.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.232, allocations: 294.6 kB / 424.4 MB, free: 23.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.2326, allocations: 1.011 MB / 425.5 MB, free: 22.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.2344, allocations: 2.479 MB / 427.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2344, allocations: 0 / 427.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2344, allocations: 7.984 kB / 427.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.2344, allocations: 0 / 427.9 MB, free: 20.3 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.007691/0.2421, allocations: 2.962 MB / 430.9 MB, free: 17.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2422, allocations: 8.031 kB / 430.9 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.2432, allocations: 282.7 kB / 431.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.2448, allocations: 1.113 MB / 432.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2449, allocations: 186 kB / 432.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2451, allocations: 136 kB / 432.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.247, allocations: 1.438 MB / 434 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.247, allocations: 7.984 kB / 434.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2471, allocations: 64 kB / 434.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2471, allocations: 32 kB / 434.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.249, allocations: 1.388 MB / 435.5 MB, free: 12.46 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.008696/0.2577, allocations: 9.537 MB / 445.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.2598, allocations: 1.553 MB / 446.6 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007698/0.2606, allocations: 0.593 MB / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/0.2607, allocations: 17.31 kB / 447.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.2621, allocations: 1.213 MB / 448.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=167): time 3.086e-06/0.2622, allocations: 0 / 448.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=167): time 0.008813/0.271, allocations: 3.183 MB / 451.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002434/0.2712, allocations: 0.5462 MB / 452.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2724, allocations: 0.9003 MB / 453.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.2725, allocations: 57.7 kB / 453.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.2729, allocations: 0.5824 MB / 453.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.2733, allocations: 0.5468 MB / 454.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004205/0.2738, allocations: 255.4 kB / 454.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.2739, allocations: 305.1 kB / 454.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007449/0.2746, allocations: 447.8 kB / 455.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.2755, allocations: 0.6931 MB / 455.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.2773, allocations: 1.358 MB / 457.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2773, allocations: 4 kB / 457.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003455/0.2808, allocations: 1.951 MB / 459.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/0.2809, allocations: 130.8 kB / 459.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.2809, allocations: 12.03 kB / 459.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.2824, allocations: 448.3 kB / 459.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.2836, allocations: 323.5 kB / 460.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.2902, allocations: 4.445 MB / 464.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2914, allocations: 99.33 kB / 464.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.2916, allocations: 56 kB / 464.7 MB, free: 13.53 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 (transmissionLine2.breakerStatusInternalB,transmissionLine2.breakerStatusInternalA,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine2.breakerStatusInternalA,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalA,transmissionLine2.breakerStatus,$PRE.transmissionLine2.breakerStatus,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.0006665/0.2922, allocations: 424.8 kB / 465.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.2925, allocations: 146.4 kB / 465.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.2958, allocations: 1.89 MB / 467.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.2959, allocations: 19.94 kB / 467.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2959, allocations: 0 / 467.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.2959, allocations: 11.91 kB / 467.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/0.3013, allocations: 3.65 MB / 470.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3014, allocations: 0 / 470.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.3024, allocations: 263.7 kB / 471.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.3038, allocations: 432.1 kB / 471.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.3039, allocations: 43.98 kB / 471.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.31, allocations: 4.339 MB / 475.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.31, allocations: 0 / 475.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.3149, allocations: 3.527 MB / 479.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.3156, allocations: 371.1 kB / 479.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.3158, allocations: 35.98 kB / 479.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.3167, allocations: 55.84 kB / 479.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.3171, allocations: 128.9 kB / 480 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.3171, allocations: 40 kB / 480.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008013/0.3179, allocations: 0.6068 MB / 480.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.318, allocations: 0 / 480.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001555/0.3195, allocations: 0.605 MB / 481.3 MB, free: 12.58 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: 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 (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.0003406/0.3199, allocations: 233.1 kB / 481.5 MB, free: 12.35 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.003029/0.3229, allocations: 2.03 MB / 483.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3229, allocations: 4.438 kB / 483.6 MB, free: 10.25 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.00183/0.3248, allocations: 1.402 MB / 485 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3258, allocations: 218.3 kB / 485.2 MB, free: 8.598 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.004419/0.3302, allocations: 3.149 MB / 488.3 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.331, allocations: 1.244 MB / 489.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.3314, allocations: 99.42 kB / 489.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3314, allocations: 4 kB / 489.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of Templates: time 0.03205/0.3634, allocations: 25.53 MB / 0.5031 GB, free: 10.55 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoTransmLinesWithBreakersOneLoad.makefile (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)