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.001196/0.001196, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001165/0.001165, allocations: 192 kB / 17.31 MB, free: 5.18 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07689/0.07689, allocations: 16.75 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 68.94 kB / 373.2 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 53.57 MB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.3924/0.5213, allocations: 210.6 MB / 0.6224 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07313/0.5945, allocations: 38.03 MB / 0.6595 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/0.6143, allocations: 378.3 kB / 0.6599 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02189/0.6363, allocations: 5.619 MB / 0.6654 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04935/0.6856, allocations: 15.62 MB / 0.6806 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.7042, allocations: 5.815 MB / 0.6863 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3206/1.025, allocations: 36.56 MB / 0.722 GB, free: 22.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/1.042, allocations: 5.877 MB / 0.7277 GB, free: 21.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02684/1.069, allocations: 12.11 MB / 0.7395 GB, free: 20.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02213/1.091, allocations: 12.79 MB / 0.752 GB, free: 18.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007927/1.099, allocations: 1.528 MB / 0.7535 GB, free: 17.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01875/1.118, allocations: 3.188 MB / 0.7566 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008356/1.127, allocations: 3.559 MB / 0.7601 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02734/1.154, allocations: 11.33 MB / 0.7712 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04513/1.199, allocations: 26.58 MB / 0.7971 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.199, allocations: 0 / 0.7971 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.965e-06/1.199, allocations: 4 kB / 0.7971 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001077/1.2, allocations: 0 / 0.7971 GB, free: 11.98 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3457 * Number of variables: 3457 Notification: Performance of Generate backend data structure: time 0.09251/1.293, allocations: 25.57 MB / 0.8221 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.293, allocations: 12.03 kB / 0.8221 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02914/1.322, allocations: 4.643 MB / 0.8267 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03068/1.353, allocations: 11.7 MB / 0.8381 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001446/1.354, allocations: 1.37 MB / 0.8394 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003514/1.358, allocations: 1.393 MB / 0.8408 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/1.391, allocations: 16.12 MB / 0.8565 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003396/1.391, allocations: 87.94 kB / 0.8566 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/1.393, allocations: 0.6055 MB / 0.8572 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/1.393, allocations: 367.9 kB / 0.8575 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/1.417, allocations: 13.49 MB / 0.8707 GB, free: 140 kB / 0.5762 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.3723/1.79, allocations: 106.9 MB / 0.9752 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/1.811, allocations: 19.56 MB / 0.9943 GB, free: 180 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008035/1.819, allocations: 5.381 MB / 0.9995 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008324/1.82, allocations: 189.4 kB / 0.9997 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.014/1.834, allocations: 8.288 MB / 1.008 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1416): time 3.837e-05/1.834, allocations: 0 / 1.008 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1416): time 0.05869/1.892, allocations: 23.87 MB / 1.031 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007452/1.893, allocations: 2.471 MB / 1.034 GB, free: 162 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02401/1.917, allocations: 12.66 MB / 1.046 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00261/1.92, allocations: 333.7 kB / 1.046 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006591/1.926, allocations: 6.916 MB / 1.053 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.006636/1.933, allocations: 5.417 MB / 1.058 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01653/1.95, allocations: 6.686 MB / 1.065 GB, free: 133.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.95, allocations: 309.1 kB / 1.065 GB, free: 133.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0177/1.967, allocations: 9.758 MB / 1.075 GB, free: 123.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02075/1.988, allocations: 13.38 MB / 1.088 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02719/2.015, allocations: 19.84 MB / 1.107 GB, free: 88.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-05/2.016, allocations: 12 kB / 1.107 GB, free: 88.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4905) (initialization): time 0.06537/2.081, allocations: 32.94 MB / 1.139 GB, free: 55.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/2.081, allocations: 0.5109 MB / 1.14 GB, free: 54.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/2.081, allocations: 40 kB / 1.14 GB, free: 54.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01906/2.1, allocations: 4.407 MB / 1.144 GB, free: 50.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02815/2.129, allocations: 7.392 MB / 1.151 GB, free: 43.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04444/2.173, allocations: 34.42 MB / 1.185 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02844/2.202, allocations: 2.301 MB / 1.187 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00531/2.207, allocations: 1.168 MB / 1.188 GB, free: 4.059 MB / 0.6075 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 (4575): * Single equations (assignments): 4551 * 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), (32,0), (38,0), (32,0), (40,0), (32,0), (38,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.01097/2.218, allocations: 3.617 MB / 1.192 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2373/2.455, allocations: 1.595 MB / 1.193 GB, free: 245.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02727/2.483, allocations: 14.5 MB / 1.208 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002868/2.483, allocations: 66.08 kB / 1.208 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/2.483, allocations: 0 / 1.208 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0127/2.496, allocations: 3.258 MB / 1.211 GB, free: 244 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006547/2.502, allocations: 278.5 kB / 1.211 GB, free: 243.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01624/2.518, allocations: 0.5482 MB / 1.212 GB, free: 243.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003147/2.522, allocations: 1.063 MB / 1.213 GB, free: 243.5 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03244/2.554, allocations: 15.08 MB / 1.227 GB, free: 237.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03295/2.587, allocations: 16.71 MB / 1.244 GB, free: 230.5 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00915/2.596, allocations: 5.214 MB / 1.249 GB, free: 228 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01481/2.611, allocations: 7.609 MB / 1.256 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of Backend: time 9.61e-07/2.611, allocations: 0 / 1.256 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.06057/2.672, allocations: 25.63 MB / 1.281 GB, free: 209.1 MB / 0.6075 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.06235/2.734, allocations: 27.48 MB / 1.308 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.7227/3.457, allocations: 236.4 MB / 1.539 GB, free: 168.2 MB / 0.6075 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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe 2>&1)