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.005395/0.005395, allocations: 96.16 kB / 15.73 MB, free: 6.055 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.001347/0.001347, allocations: 191.6 kB / 16.67 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1722/0.1722, allocations: 16.77 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 59.73 kB / 426.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09607, allocations: 53.57 MB / 480.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.3783/0.4745, allocations: 211.9 MB / 0.6758 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.05625/0.5308, allocations: 38.41 MB / 0.7133 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/0.5508, allocations: 382.2 kB / 0.7137 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01653/0.5674, allocations: 5.647 MB / 0.7192 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.04421/0.6116, allocations: 15.72 MB / 0.7346 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01652/0.6282, allocations: 6.419 MB / 0.7408 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.04909/0.6773, allocations: 37.21 MB / 0.7772 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.691, allocations: 6.037 MB / 0.7831 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02163/0.7127, allocations: 12.39 MB / 0.7952 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02056/0.7333, allocations: 13.19 MB / 0.808 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005811/0.7391, allocations: 1.609 MB / 0.8096 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5271/1.266, allocations: 3.268 MB / 0.8128 GB, free: 42.65 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.006341/1.273, allocations: 3.744 MB / 0.8165 GB, free: 42.65 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03037/1.303, allocations: 11.61 MB / 0.8278 GB, free: 41.94 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.04504/1.348, allocations: 27.42 MB / 0.8546 GB, free: 38.07 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.348, allocations: 7.312 kB / 0.8546 GB, free: 38.06 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.683e-06/1.348, allocations: 0 / 0.8546 GB, free: 38.06 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0008927/1.349, allocations: 0 / 0.8546 GB, free: 38.06 MB / 0.5763 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.09752/1.447, allocations: 28.92 MB / 0.8828 GB, free: 29.39 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.447, allocations: 10.31 kB / 0.8828 GB, free: 29.39 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02733/1.474, allocations: 4.78 MB / 0.8875 GB, free: 27.54 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/1.502, allocations: 12.01 MB / 0.8992 GB, free: 22.93 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/1.503, allocations: 1.401 MB / 0.9006 GB, free: 22.62 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004444/1.507, allocations: 1.441 MB / 0.902 GB, free: 22.62 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03456/1.542, allocations: 16.74 MB / 0.9184 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006984/1.543, allocations: 90 kB / 0.9184 GB, free: 14.31 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003433/1.546, allocations: 0.6289 MB / 0.9191 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002413/1.546, allocations: 375.9 kB / 0.9194 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02691/1.573, allocations: 14.24 MB / 0.9333 GB, free: 15.54 MB / 0.5919 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.1476/1.721, allocations: 108.2 MB / 1.039 GB, free: 15.44 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2639/1.985, allocations: 17.49 MB / 1.056 GB, free: 292.7 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01074/1.996, allocations: 5.661 MB / 1.062 GB, free: 292.6 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.997, allocations: 196.9 kB / 1.062 GB, free: 292.6 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01451/2.011, allocations: 8.707 MB / 1.07 GB, free: 290.1 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=1476): time 3.084e-05/2.011, allocations: 0 / 1.07 GB, free: 290.1 MB / 0.7013 GB Notification: Performance of matching and sorting (n=1476): time 0.08338/2.095, allocations: 29.25 MB / 1.099 GB, free: 286.9 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005863/2.095, allocations: 2.475 MB / 1.101 GB, free: 284.1 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02385/2.119, allocations: 13.29 MB / 1.114 GB, free: 279.4 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.0027/2.122, allocations: 347.6 kB / 1.115 GB, free: 279.2 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.007243/2.129, allocations: 7.132 MB / 1.122 GB, free: 275.4 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.009053/2.138, allocations: 5.903 MB / 1.127 GB, free: 271.1 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0221/2.16, allocations: 7.104 MB / 1.134 GB, free: 267.7 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/2.16, allocations: 301.1 kB / 1.135 GB, free: 267.4 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02338/2.184, allocations: 10.49 MB / 1.145 GB, free: 259.2 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02593/2.21, allocations: 14.24 MB / 1.159 GB, free: 246 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03028/2.24, allocations: 21.21 MB / 1.179 GB, free: 224.4 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/2.24, allocations: 12 kB / 1.179 GB, free: 224.4 MB / 0.7013 GB Notification: Performance of matching and sorting (n=5157) (initialization): time 0.071/2.311, allocations: 35.43 MB / 1.214 GB, free: 188.9 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/2.311, allocations: 0.507 MB / 1.214 GB, free: 188.3 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/2.312, allocations: 45.42 kB / 1.215 GB, free: 188.2 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01977/2.331, allocations: 4.781 MB / 1.219 GB, free: 183.4 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02858/2.36, allocations: 7.677 MB / 1.227 GB, free: 175.7 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05101/2.411, allocations: 40.38 MB / 1.266 GB, free: 134.3 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03046/2.442, allocations: 2.485 MB / 1.269 GB, free: 131.8 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005627/2.447, allocations: 1.234 MB / 1.27 GB, free: 130.6 MB / 0.7013 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.0115/2.459, allocations: 3.706 MB / 1.273 GB, free: 126.8 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005275/2.464, allocations: 1.743 MB / 1.275 GB, free: 125 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02626/2.49, allocations: 15.77 MB / 1.29 GB, free: 109.2 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002353/2.491, allocations: 67.73 kB / 1.291 GB, free: 109.1 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/2.491, allocations: 4 kB / 1.291 GB, free: 109.1 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01048/2.501, allocations: 3.541 MB / 1.294 GB, free: 105.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005116/2.506, allocations: 288 kB / 1.294 GB, free: 105.3 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01501/2.521, allocations: 0.5559 MB / 1.295 GB, free: 104.7 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002831/2.524, allocations: 1.129 MB / 1.296 GB, free: 103.6 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03292/2.557, allocations: 16.64 MB / 1.312 GB, free: 87.05 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02809/2.585, allocations: 18.07 MB / 1.33 GB, free: 68.87 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007582/2.593, allocations: 5.565 MB / 1.335 GB, free: 63.3 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01463/2.607, allocations: 7.956 MB / 1.343 GB, free: 55.41 MB / 0.7013 GB Notification: Performance of Backend: time 8.02e-07/2.607, allocations: 0 / 1.343 GB, free: 55.41 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.2786/2.886, allocations: 28.02 MB / 1.37 GB, free: 283 MB / 0.7013 GB Notification: Performance of SimCode: time 0.06014/2.946, allocations: 29.59 MB / 1.399 GB, free: 271.3 MB / 0.7013 GB Notification: Performance of Templates: time 0.57/3.516, allocations: 257.2 MB / 1.65 GB, free: 282.9 MB / 0.7013 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)