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.005091/0.005091, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001265/0.001265, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08259/0.08259, allocations: 16.68 MB / 307.2 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 426.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1246, allocations: 53.54 MB / 480.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.4797/0.6043, allocations: 211.8 MB / 0.6757 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.09238/0.6968, allocations: 38.41 MB / 0.7132 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02927/0.7261, allocations: 390.2 kB / 0.7136 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.3669/1.093, allocations: 5.636 MB / 0.7191 GB, free: 27.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.04962/1.143, allocations: 15.72 MB / 0.7344 GB, free: 27.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02116/1.164, allocations: 6.416 MB / 0.7407 GB, free: 27.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.05382/1.218, allocations: 37.21 MB / 0.777 GB, free: 25.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/1.234, allocations: 6.035 MB / 0.7829 GB, free: 22.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02683/1.261, allocations: 12.39 MB / 0.795 GB, free: 17.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02229/1.283, allocations: 13.19 MB / 0.8079 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.006638/1.29, allocations: 1.605 MB / 0.8095 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/1.307, allocations: 3.273 MB / 0.8127 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.008445/1.315, allocations: 3.749 MB / 0.8163 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.02877/1.344, allocations: 11.61 MB / 0.8277 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05147/1.395, allocations: 27.43 MB / 0.8545 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.395, allocations: 0 / 0.8545 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/1.395, allocations: 0 / 0.8545 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0008849/1.396, allocations: 0 / 0.8545 GB, free: 7.781 MB / 0.5919 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.1188/1.515, allocations: 28.91 MB / 0.8827 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.515, allocations: 15.95 kB / 0.8827 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/1.547, allocations: 4.782 MB / 0.8874 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0345/1.581, allocations: 12.03 MB / 0.8991 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001886/1.583, allocations: 1.41 MB / 0.9005 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004991/1.588, allocations: 1.441 MB / 0.9019 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/1.632, allocations: 16.74 MB / 0.9183 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005696/1.632, allocations: 87.12 kB / 0.9183 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003499/1.636, allocations: 0.6328 MB / 0.919 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003876/1.636, allocations: 379.9 kB / 0.9193 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/1.667, allocations: 14.24 MB / 0.9332 GB, free: 5.543 MB / 0.67 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.6048/2.272, allocations: 108.2 MB / 1.039 GB, free: 211.1 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.024/2.296, allocations: 17.48 MB / 1.056 GB, free: 200.8 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/2.306, allocations: 5.664 MB / 1.061 GB, free: 198.4 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/2.308, allocations: 199.2 kB / 1.062 GB, free: 198.4 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0155/2.323, allocations: 8.701 MB / 1.07 GB, free: 192.7 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1476): time 3.074e-05/2.324, allocations: 0 / 1.07 GB, free: 192.7 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1476): time 0.1147/2.438, allocations: 29.31 MB / 1.099 GB, free: 177.8 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005894/2.439, allocations: 2.473 MB / 1.101 GB, free: 174.8 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/2.458, allocations: 13.29 MB / 1.114 GB, free: 161.8 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.002262/2.46, allocations: 349.6 kB / 1.115 GB, free: 161.5 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.005902/2.466, allocations: 7.139 MB / 1.121 GB, free: 155.2 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006668/2.473, allocations: 5.896 MB / 1.127 GB, free: 150.1 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01788/2.491, allocations: 7.096 MB / 1.134 GB, free: 143 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/2.491, allocations: 309.1 kB / 1.134 GB, free: 142.7 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01917/2.51, allocations: 10.49 MB / 1.145 GB, free: 132.2 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02627/2.536, allocations: 14.23 MB / 1.159 GB, free: 117.4 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02805/2.564, allocations: 21.2 MB / 1.179 GB, free: 95.27 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/2.564, allocations: 15.94 kB / 1.179 GB, free: 95.26 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5157) (initialization): time 0.06964/2.634, allocations: 35.43 MB / 1.214 GB, free: 59.5 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.000267/2.634, allocations: 0.507 MB / 1.214 GB, free: 58.89 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/2.634, allocations: 44 kB / 1.214 GB, free: 58.85 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/2.655, allocations: 4.789 MB / 1.219 GB, free: 54.04 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02956/2.685, allocations: 7.665 MB / 1.227 GB, free: 46.37 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05325/2.738, allocations: 40.42 MB / 1.266 GB, free: 4.871 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03083/2.769, allocations: 2.487 MB / 1.269 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00529/2.774, allocations: 1.23 MB / 1.27 GB, free: 1.641 MB / 0.6857 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 (4770): * Single equations (assignments): 4746 * 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), (41,0), (46,0), (38,0), (46,0)} Notification: Performance of prepare postOptimizeDAE: time 0.2913/3.065, allocations: 3.7 MB / 1.273 GB, free: 261.9 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008412/3.074, allocations: 1.736 MB / 1.275 GB, free: 261.9 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03681/3.111, allocations: 15.77 MB / 1.29 GB, free: 260.8 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006205/3.111, allocations: 69.2 kB / 1.291 GB, free: 260.8 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/3.111, allocations: 1.25 kB / 1.291 GB, free: 260.8 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01394/3.125, allocations: 3.541 MB / 1.294 GB, free: 260.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007162/3.132, allocations: 285 kB / 1.294 GB, free: 260.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01595/3.148, allocations: 0.5608 MB / 1.295 GB, free: 260.1 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003073/3.152, allocations: 1.125 MB / 1.296 GB, free: 260 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03889/3.19, allocations: 16.65 MB / 1.312 GB, free: 253.4 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03779/3.228, allocations: 18.07 MB / 1.33 GB, free: 245.9 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007827/3.236, allocations: 5.559 MB / 1.335 GB, free: 243.3 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01514/3.251, allocations: 7.954 MB / 1.343 GB, free: 240.4 MB / 0.6857 GB Notification: Performance of Backend: time 9.72e-07/3.251, allocations: 0 / 1.343 GB, free: 240.4 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0627/3.314, allocations: 28.04 MB / 1.37 GB, free: 222.7 MB / 0.6857 GB Notification: Performance of SimCode: time 0.06935/3.383, allocations: 29.6 MB / 1.399 GB, free: 193.3 MB / 0.6857 GB Notification: Performance of Templates: time 0.6284/4.012, allocations: 257.2 MB / 1.651 GB, free: 175.2 MB / 0.6857 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe 2>&1)