Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.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.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA") translateModel(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.5 kB / 16.97 MB, free: 5.82 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.001605/0.001605, allocations: 189.1 kB / 17.9 MB, free: 5.156 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.344/1.344, allocations: 205.1 MB / 223.8 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0643/0.0643, allocations: 14.17 MB / 285.3 MB, free: 13.94 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.001415/0.001416, allocations: 63.91 kB / 346.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2004, allocations: 50.14 MB / 396.6 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA): time 0.008238/0.2087, allocations: 11.99 MB / 408.6 MB, free: 38.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.2156, allocations: 5.082 MB / 413.7 MB, free: 34.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2167, allocations: 45.84 kB / 413.7 MB, free: 34.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2181, allocations: 0.6446 MB / 414.4 MB, free: 33.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.2224, allocations: 2.391 MB / 416.8 MB, free: 31.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000909/0.2233, allocations: 0.5762 MB / 417.4 MB, free: 30.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2259, allocations: 3.591 MB / 420.9 MB, free: 27.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.2263, allocations: 245.3 kB / 421.2 MB, free: 27.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.2272, allocations: 1.203 MB / 422.4 MB, free: 25.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.2282, allocations: 1.218 MB / 423.6 MB, free: 24.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.2284, allocations: 120 kB / 423.7 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008786/0.2293, allocations: 0.5153 MB / 424.2 MB, free: 24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2295, allocations: 302.5 kB / 424.5 MB, free: 23.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.2302, allocations: 1.015 MB / 425.5 MB, free: 22.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.2319, allocations: 2.483 MB / 428 MB, free: 20.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2319, allocations: 0 / 428 MB, free: 20.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2319, allocations: 0 / 428 MB, free: 20.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.2319, 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.007306/0.2393, allocations: 2.966 MB / 431 MB, free: 17.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2393, allocations: 12.03 kB / 431 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.2402, allocations: 286.7 kB / 431.3 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.2418, allocations: 1.105 MB / 432.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.2419, allocations: 186 kB / 432.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.242, allocations: 140 kB / 432.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.2438, allocations: 1.446 MB / 434.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.2438, allocations: 3.938 kB / 434.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.2439, allocations: 56 kB / 434.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.244, allocations: 32 kB / 434.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.2458, allocations: 1.396 MB / 435.6 MB, free: 12.35 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.008254/0.2541, allocations: 9.564 MB / 445.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.2562, allocations: 1.549 MB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.257, allocations: 0.6008 MB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.344e-05/0.2571, allocations: 13.31 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.2585, allocations: 1.21 MB / 448.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=168): time 3.066e-06/0.2585, allocations: 0 / 448.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=168): time 0.008604/0.2671, allocations: 3.246 MB / 451.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000235/0.2674, allocations: 0.5423 MB / 452.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2685, allocations: 0.8924 MB / 453.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/0.2686, allocations: 57.7 kB / 453.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.2691, allocations: 0.5863 MB / 453.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/0.2696, allocations: 0.5467 MB / 454.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.2699, allocations: 259.4 kB / 454.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2701, allocations: 301.1 kB / 455 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.2708, allocations: 451.8 kB / 455.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.2718, allocations: 0.6893 MB / 456.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.2735, allocations: 1.362 MB / 457.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2736, allocations: 0 / 457.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003462/0.277, allocations: 1.955 MB / 459.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/0.2771, allocations: 130.8 kB / 459.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2772, allocations: 8 kB / 459.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.2786, allocations: 452.6 kB / 460 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.2799, allocations: 319.6 kB / 460.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006603/0.2865, allocations: 4.443 MB / 464.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.2877, allocations: 95.42 kB / 464.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2878, allocations: 60 kB / 464.9 MB, free: 13.35 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.breakerStatusInternalA,transmissionLine2.breakerStatusInternalB,transmissionLine1.breakerStatusInternalB,transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalB,$PRE.transmissionLine1.breakerStatusInternalA,$PRE.transmissionLine2.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.0006253/0.2885, allocations: 428.8 kB / 465.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.2887, allocations: 154.2 kB / 465.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.2921, allocations: 1.89 MB / 467.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2922, allocations: 16 kB / 467.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2922, allocations: 3.984 kB / 467.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.2922, allocations: 7.922 kB / 467.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.2978, allocations: 3.658 MB / 471.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2978, allocations: 4 kB / 471.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.2989, allocations: 267.7 kB / 471.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.3003, allocations: 432.1 kB / 471.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.3004, allocations: 32 kB / 471.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006166/0.3066, allocations: 4.347 MB / 476.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3066, allocations: 0 / 476.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.312, allocations: 3.535 MB / 479.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.3128, allocations: 375 kB / 480 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.313, allocations: 32 kB / 480.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.3139, allocations: 52.05 kB / 480.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.3142, allocations: 125.1 kB / 480.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.3143, allocations: 43.98 kB / 480.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007864/0.3151, allocations: 0.6066 MB / 480.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3151, allocations: 4 kB / 480.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001639/0.3167, allocations: 0.6127 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,transmissionLine2.breakerStatus,transmissionLine2.breakerStatusInternalA) * Number of discrete states: 19 (transmissionLine2.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,transmissionLine2.breakerStatusInternalA,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 (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.0003639/0.3171, allocations: 237.6 kB / 481.7 MB, free: 12.11 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.003037/0.3201, allocations: 2.019 MB / 483.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.3202, allocations: 3.938 kB / 483.8 MB, free: 10.03 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.001874/0.3221, allocations: 1.406 MB / 485.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3232, allocations: 209.5 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.004579/0.3278, allocations: 3.16 MB / 488.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.3285, allocations: 1.248 MB / 489.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.329, allocations: 103.4 kB / 489.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.329, allocations: 0 / 489.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of Templates: time 0.03057/0.3595, allocations: 25.65 MB / 0.5034 GB, free: 10.22 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTwoBusesTwoLinesOneLoadOneBreakerOpenClosePortA.pipe 2>&1)