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.001159/0.001159, allocations: 117.3 kB / 16.37 MB, free: 6.016 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.001206/0.001206, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07861/0.07861, allocations: 16.73 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.3 kB / 373.2 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09895, allocations: 53.57 MB / 426.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.3849/0.4839, allocations: 210.6 MB / 0.6224 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07328/0.5573, allocations: 38.02 MB / 0.6595 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01992/0.5772, allocations: 378.3 kB / 0.6599 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01997/0.5973, allocations: 5.612 MB / 0.6654 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05292/0.6503, allocations: 15.63 MB / 0.6806 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.668, allocations: 5.809 MB / 0.6863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3222/0.9902, allocations: 36.56 MB / 0.722 GB, free: 22.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/1.002, allocations: 5.869 MB / 0.7277 GB, free: 21.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02703/1.029, allocations: 12.1 MB / 0.7395 GB, free: 21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02203/1.051, allocations: 12.79 MB / 0.752 GB, free: 18.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006663/1.058, allocations: 1.527 MB / 0.7535 GB, free: 18.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/1.074, allocations: 3.192 MB / 0.7566 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006749/1.081, allocations: 3.56 MB / 0.7601 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02537/1.106, allocations: 11.33 MB / 0.7712 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0382/1.144, allocations: 26.58 MB / 0.7971 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.144, allocations: 0 / 0.7971 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/1.145, allocations: 0 / 0.7971 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008888/1.145, allocations: 0 / 0.7971 GB, free: 12.27 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.09791/1.243, allocations: 25.57 MB / 0.8221 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/1.243, allocations: 8.031 kB / 0.8221 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03089/1.274, allocations: 4.643 MB / 0.8267 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03099/1.305, allocations: 11.7 MB / 0.8381 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001661/1.307, allocations: 1.374 MB / 0.8394 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/1.311, allocations: 1.395 MB / 0.8408 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03843/1.35, allocations: 16.12 MB / 0.8565 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005476/1.35, allocations: 90.81 kB / 0.8566 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002961/1.353, allocations: 0.6055 MB / 0.8572 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/1.354, allocations: 363.9 kB / 0.8576 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02779/1.381, allocations: 13.48 MB / 0.8707 GB, free: 428 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.4156/1.797, allocations: 106.9 MB / 0.9751 GB, free: 40.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0229/1.82, allocations: 19.58 MB / 0.9943 GB, free: 31.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009052/1.829, allocations: 5.378 MB / 0.9995 GB, free: 31.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009386/1.83, allocations: 177.9 kB / 0.9997 GB, free: 31.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01174/1.842, allocations: 8.293 MB / 1.008 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1416): time 3.377e-05/1.842, allocations: 0 / 1.008 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1416): time 0.05955/1.901, allocations: 23.87 MB / 1.031 GB, free: 26.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005591/1.902, allocations: 2.463 MB / 1.034 GB, free: 24.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02167/1.924, allocations: 12.66 MB / 1.046 GB, free: 19.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002284/1.926, allocations: 338.2 kB / 1.046 GB, free: 19.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005915/1.932, allocations: 6.913 MB / 1.053 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.006206/1.938, allocations: 5.414 MB / 1.058 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01883/1.957, allocations: 6.69 MB / 1.065 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/1.957, allocations: 307.9 kB / 1.065 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02029/1.977, allocations: 9.805 MB / 1.075 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02725/2.005, allocations: 13.37 MB / 1.088 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0348/2.04, allocations: 19.83 MB / 1.107 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/2.04, allocations: 19.94 kB / 1.107 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4905) (initialization): time 0.4256/2.465, allocations: 32.94 MB / 1.139 GB, free: 302.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/2.466, allocations: 0.5052 MB / 1.14 GB, free: 302.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/2.466, allocations: 42.44 kB / 1.14 GB, free: 302.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01985/2.486, allocations: 4.405 MB / 1.144 GB, free: 302.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02808/2.514, allocations: 7.389 MB / 1.151 GB, free: 302 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04863/2.562, allocations: 34.43 MB / 1.185 GB, free: 286.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02897/2.591, allocations: 2.289 MB / 1.187 GB, free: 285.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005139/2.597, allocations: 1.181 MB / 1.188 GB, free: 285.3 MB / 0.67 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.01022/2.607, allocations: 3.608 MB / 1.192 GB, free: 282.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005054/2.612, allocations: 1.59 MB / 1.193 GB, free: 282.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/2.635, allocations: 14.5 MB / 1.208 GB, free: 276.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001593/2.635, allocations: 64.08 kB / 1.208 GB, free: 276.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/2.635, allocations: 3.906 kB / 1.208 GB, free: 276.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00971/2.645, allocations: 3.251 MB / 1.211 GB, free: 275 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005036/2.65, allocations: 281.3 kB / 1.211 GB, free: 274.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01332/2.663, allocations: 0.5439 MB / 1.212 GB, free: 274.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002259/2.666, allocations: 1.064 MB / 1.213 GB, free: 274.5 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02756/2.693, allocations: 15.09 MB / 1.227 GB, free: 265.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02569/2.719, allocations: 16.7 MB / 1.244 GB, free: 250.7 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006449/2.725, allocations: 5.224 MB / 1.249 GB, free: 246 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01298/2.738, allocations: 7.611 MB / 1.256 GB, free: 238.9 MB / 0.67 GB Notification: Performance of Backend: time 7.81e-07/2.738, allocations: 4 kB / 1.256 GB, free: 238.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.05332/2.792, allocations: 25.63 MB / 1.281 GB, free: 213 MB / 0.67 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.05881/2.851, allocations: 27.48 MB / 1.308 GB, free: 185.6 MB / 0.67 GB Notification: Performance of Templates: time 0.5437/3.394, allocations: 236.4 MB / 1.539 GB, free: 253.8 MB / 0.67 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 gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe 2>&1)