Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestTransmissionLineWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF") translateModel(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001145/0.001145, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1849/0.1849, allocations: 16.77 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.91 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3021, allocations: 53.55 MB / 425.3 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.406/0.7082, allocations: 211.8 MB / 0.6222 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.06629/0.7745, allocations: 38.42 MB / 0.6597 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02556/0.8002, allocations: 388.1 kB / 0.6601 GB, free: 16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01925/0.8195, allocations: 5.646 MB / 0.6656 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05586/0.8754, allocations: 15.72 MB / 0.681 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01941/0.8948, allocations: 6.425 MB / 0.6873 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05541/0.9502, allocations: 37.05 MB / 0.7234 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01537/0.9656, allocations: 6.051 MB / 0.7293 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02373/0.9894, allocations: 12.33 MB / 0.7414 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02325/1.013, allocations: 13.2 MB / 0.7543 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.007061/1.02, allocations: 1.609 MB / 0.7558 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/1.036, allocations: 3.27 MB / 0.759 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.009631/1.045, allocations: 3.748 MB / 0.7627 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.02713/1.072, allocations: 11.61 MB / 0.774 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.5524/1.625, allocations: 26.91 MB / 0.8003 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.625, allocations: 0 / 0.8003 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.335e-06/1.625, allocations: 0 / 0.8003 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001227/1.626, allocations: 0.8438 kB / 0.8003 GB, free: 65.88 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 0.1289/1.755, allocations: 28.44 MB / 0.8281 GB, free: 58.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.755, allocations: 9.656 kB / 0.8281 GB, free: 58.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03156/1.787, allocations: 4.687 MB / 0.8327 GB, free: 57.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03799/1.825, allocations: 11.59 MB / 0.844 GB, free: 51.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002102/1.827, allocations: 1.409 MB / 0.8454 GB, free: 50.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005694/1.833, allocations: 1.44 MB / 0.8468 GB, free: 49.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04099/1.874, allocations: 16.74 MB / 0.8631 GB, free: 36.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005993/1.874, allocations: 82.81 kB / 0.8632 GB, free: 36.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/1.878, allocations: 0.6307 MB / 0.8638 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002376/1.878, allocations: 375.9 kB / 0.8642 GB, free: 35.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/1.905, allocations: 14.25 MB / 0.8781 GB, free: 24.99 MB / 0.5294 GB 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.185/2.09, allocations: 108.5 MB / 0.9841 GB, free: 8.625 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2654/2.355, allocations: 17.48 MB / 1.001 GB, free: 271.4 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/2.366, allocations: 5.667 MB / 1.007 GB, free: 271.2 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000878/2.367, allocations: 194.7 kB / 1.007 GB, free: 271.2 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0163/2.383, allocations: 8.701 MB / 1.015 GB, free: 268.4 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=1476): time 4.549e-05/2.383, allocations: 0 / 1.015 GB, free: 268.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1476): time 0.09258/2.476, allocations: 29.16 MB / 1.044 GB, free: 259.9 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006907/2.476, allocations: 2.483 MB / 1.046 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02806/2.504, allocations: 13.25 MB / 1.059 GB, free: 252.4 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.003827/2.508, allocations: 348.5 kB / 1.06 GB, free: 252.1 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.008138/2.516, allocations: 6.929 MB / 1.066 GB, free: 248.5 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.008504/2.525, allocations: 5.663 MB / 1.072 GB, free: 244.4 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02724/2.552, allocations: 7.064 MB / 1.079 GB, free: 238.1 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/2.552, allocations: 309 kB / 1.079 GB, free: 237.8 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02293/2.575, allocations: 10.5 MB / 1.089 GB, free: 228.4 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02905/2.604, allocations: 14.24 MB / 1.103 GB, free: 214.4 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03065/2.635, allocations: 21.21 MB / 1.124 GB, free: 192.3 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/2.635, allocations: 12 kB / 1.124 GB, free: 192.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=5157) (initialization): time 0.07769/2.713, allocations: 35.33 MB / 1.158 GB, free: 156.6 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003361/2.713, allocations: 0.5079 MB / 1.159 GB, free: 156 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/2.713, allocations: 47.94 kB / 1.159 GB, free: 155.9 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02071/2.734, allocations: 4.839 MB / 1.164 GB, free: 151.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0319/2.766, allocations: 7.677 MB / 1.171 GB, free: 143.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05455/2.821, allocations: 40.43 MB / 1.211 GB, free: 101.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03681/2.857, allocations: 2.44 MB / 1.213 GB, free: 99.41 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007134/2.865, allocations: 1.234 MB / 1.214 GB, free: 98.18 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 129 (LineAoBo.componentPF.breakerStatusInternalA,LineAoBo.componentPF.breakerStatusInternalB,LineAcBo.breakerStatusInternalA,LineAoBc.breakerStatusInternalB,LineAcBo.componentPF.breakerStatusInternalA,LineAcBo.componentPF.breakerStatusInternalB,LineAoBc.componentPF.breakerStatusInternalA,LineAoBc.componentPF.breakerStatusInternalB,LineAcBc.componentPF.breakerStatusInternalA,LineAcBc.componentPF.breakerStatusInternalB,LineAcBc.breakerStatusInternalA,LineAcBc.breakerStatusInternalB,IBL4.componentPF.isSlackBus,CloseCommand.y,LineAoBc.breakerStatusInternalA,LineAcBo.breakerStatusInternalB,LineAoBo.breakerStatusInternalA,LineAoBo.breakerStatusInternalB,BL4.componentPF.isSlackBus,LoadAoBo.componentPF.isSlackBus,IB4.componentPF.isSlackBus,$PRE.LineAoBo.breakerStatusInternalA,$PRE.LineAoBo.breakerStatusInternalB,$PRE.LineAoBo.componentPF.breakerStatusInternalB,$PRE.LineAoBo.componentPF.breakerStatusInternalA,LineAoBo.componentPF.breakerStatus,$PRE.LineAoBo.componentPF.breakerStatus,$whenCondition64,$whenCondition63,$whenCondition62,$whenCondition61,$whenCondition60,$whenCondition59,$whenCondition58,$whenCondition57,LineAoBo.breakerStatus,$PRE.LineAoBo.breakerStatus,$whenCondition56,$whenCondition55,$whenCondition54,$whenCondition53,$whenCondition52,$whenCondition51,$whenCondition50,$whenCondition49,BL3.componentPF.isSlackBus,IB3.componentPF.isSlackBus,LoadAcBo.componentPF.isSlackBus,IBL3.componentPF.isSlackBus,$PRE.LineAcBo.breakerStatusInternalB,$PRE.LineAcBo.breakerStatusInternalA,LineAcBo.breakerStatus,$PRE.LineAcBo.breakerStatus,$whenCondition48,$whenCondition47,$whenCondition46,$whenCondition45,$whenCondition44,$whenCondition43,$whenCondition42,$whenCondition41,$PRE.LineAcBo.componentPF.breakerStatusInternalB,$PRE.LineAcBo.componentPF.breakerStatusInternalA,LineAcBo.componentPF.breakerStatus,$PRE.LineAcBo.componentPF.breakerStatus,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,BL2.componentPF.isSlackBus,IB2.componentPF.isSlackBus,LoadAoBc.componentPF.isSlackBus,IBL2.componentPF.isSlackBus,$PRE.LineAoBc.breakerStatusInternalA,$PRE.LineAoBc.breakerStatusInternalB,LineAoBc.breakerStatus,$PRE.LineAoBc.breakerStatus,$whenCondition40,$whenCondition39,$whenCondition38,$whenCondition37,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$PRE.LineAoBc.componentPF.breakerStatusInternalB,$PRE.LineAoBc.componentPF.breakerStatusInternalA,LineAoBc.componentPF.breakerStatus,$PRE.LineAoBc.componentPF.breakerStatus,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,IBL1.componentPF.isSlackBus,BL1.componentPF.isSlackBus,LoadAcBc.componentPF.isSlackBus,IB1.componentPF.isSlackBus,$PRE.LineAcBc.componentPF.breakerStatusInternalB,$PRE.LineAcBc.componentPF.breakerStatusInternalA,LineAcBc.componentPF.breakerStatus,$PRE.LineAcBc.componentPF.breakerStatus,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$PRE.LineAcBc.breakerStatusInternalB,$PRE.LineAcBc.breakerStatusInternalA,LineAcBc.breakerStatus,$PRE.LineAcBc.breakerStatus,$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 (4771): * Single equations (assignments): 4747 * Array equations: 0 * Algorithm blocks: 16 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(38,0), (46,0), (38,0), (46,0), (40,0), (46,0), (38,0), (46,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0169/2.882, allocations: 3.705 MB / 1.218 GB, free: 94.41 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008171/2.89, allocations: 1.66 MB / 1.219 GB, free: 92.73 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02847/2.918, allocations: 15.77 MB / 1.235 GB, free: 76.86 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002635/2.919, allocations: 67.73 kB / 1.235 GB, free: 76.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/2.919, allocations: 4 kB / 1.235 GB, free: 76.79 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01434/2.933, allocations: 3.458 MB / 1.238 GB, free: 73.29 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008652/2.942, allocations: 284 kB / 1.239 GB, free: 73.02 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/2.959, allocations: 0.554 MB / 1.239 GB, free: 72.46 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004043/2.963, allocations: 1.13 MB / 1.24 GB, free: 71.34 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03454/2.997, allocations: 16.68 MB / 1.257 GB, free: 54.76 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03889/3.036, allocations: 17.98 MB / 1.274 GB, free: 36.67 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3187/3.355, allocations: 5.562 MB / 1.28 GB, free: 248.8 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.0201/3.375, allocations: 7.95 MB / 1.287 GB, free: 248.4 MB / 0.6232 GB Notification: Performance of Backend: time 1.112e-06/3.375, allocations: 0 / 1.287 GB, free: 248.4 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.09194/3.467, allocations: 27.94 MB / 1.315 GB, free: 242.3 MB / 0.6232 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.08493/3.552, allocations: 29.43 MB / 1.343 GB, free: 228.9 MB / 0.6232 GB Notification: Performance of Templates: time 0.6466/4.199, allocations: 251.2 MB / 1.589 GB, free: 241.8 MB / 0.6232 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe 2>&1)