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.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 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.001244/0.001244, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1648/0.1648, allocations: 16.79 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 371.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2505, allocations: 53.55 MB / 425.3 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.3409/0.5915, allocations: 211.8 MB / 0.6222 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.05488/0.6464, allocations: 38.42 MB / 0.6598 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01916/0.6656, allocations: 378.6 kB / 0.6601 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01634/0.682, allocations: 5.643 MB / 0.6656 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04101/0.723, allocations: 15.73 MB / 0.681 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01677/0.7398, allocations: 6.417 MB / 0.6873 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04802/0.7878, allocations: 37.06 MB / 0.7235 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.7985, allocations: 6.045 MB / 0.7294 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02016/0.8187, allocations: 12.33 MB / 0.7414 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02134/0.8401, allocations: 13.19 MB / 0.7543 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.006453/0.8466, allocations: 1.609 MB / 0.7559 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01424/0.8608, allocations: 3.273 MB / 0.7591 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00626/0.8671, allocations: 3.755 MB / 0.7627 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.02322/0.8904, allocations: 11.61 MB / 0.7741 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4761/1.366, allocations: 26.91 MB / 0.8003 GB, free: 66.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.367, allocations: 2.094 kB / 0.8003 GB, free: 66.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/1.367, allocations: 0 / 0.8003 GB, free: 66.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007352/1.367, allocations: 0 / 0.8003 GB, free: 66.01 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.1006/1.468, allocations: 28.44 MB / 0.8281 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.468, allocations: 13.22 kB / 0.8281 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02812/1.496, allocations: 4.687 MB / 0.8327 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02844/1.525, allocations: 11.58 MB / 0.844 GB, free: 51.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001344/1.526, allocations: 1.409 MB / 0.8454 GB, free: 50.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/1.53, allocations: 1.442 MB / 0.8468 GB, free: 49.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/1.559, allocations: 16.74 MB / 0.8631 GB, free: 36.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/1.56, allocations: 87.66 kB / 0.8632 GB, free: 36.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/1.561, allocations: 0.6266 MB / 0.8638 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/1.562, allocations: 382.7 kB / 0.8642 GB, free: 35.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.584, allocations: 14.25 MB / 0.8781 GB, free: 24.98 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.1339/1.718, allocations: 108.5 MB / 0.9841 GB, free: 8.609 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2199/1.938, allocations: 17.48 MB / 1.001 GB, free: 270.4 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008982/1.947, allocations: 5.671 MB / 1.007 GB, free: 270.2 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/1.948, allocations: 200.2 kB / 1.007 GB, free: 270.2 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01194/1.96, allocations: 8.688 MB / 1.015 GB, free: 267.8 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=1476): time 2.979e-05/1.96, allocations: 0 / 1.015 GB, free: 267.8 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1476): time 0.08061/2.041, allocations: 29.17 MB / 1.044 GB, free: 259.4 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004315/2.041, allocations: 2.479 MB / 1.046 GB, free: 256.5 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/2.059, allocations: 13.25 MB / 1.059 GB, free: 251.9 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.002474/2.061, allocations: 345 kB / 1.06 GB, free: 251.6 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.005344/2.067, allocations: 6.929 MB / 1.066 GB, free: 248 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.006555/2.073, allocations: 5.659 MB / 1.072 GB, free: 243.8 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01928/2.092, allocations: 7.069 MB / 1.079 GB, free: 237.4 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 3.824e-05/2.092, allocations: 301.1 kB / 1.079 GB, free: 237.1 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01534/2.108, allocations: 10.49 MB / 1.089 GB, free: 227.7 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01768/2.126, allocations: 14.24 MB / 1.103 GB, free: 214.2 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02966/2.155, allocations: 21.2 MB / 1.124 GB, free: 192 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/2.155, allocations: 12 kB / 1.124 GB, free: 192 MB / 0.6232 GB Notification: Performance of matching and sorting (n=5157) (initialization): time 0.05867/2.214, allocations: 35.33 MB / 1.158 GB, free: 156.4 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000296/2.214, allocations: 0.5119 MB / 1.159 GB, free: 155.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/2.214, allocations: 44 kB / 1.159 GB, free: 155.7 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01973/2.234, allocations: 4.84 MB / 1.164 GB, free: 150.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02899/2.263, allocations: 7.677 MB / 1.171 GB, free: 143.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04902/2.312, allocations: 40.45 MB / 1.211 GB, free: 101.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03182/2.344, allocations: 2.428 MB / 1.213 GB, free: 99.18 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004823/2.349, allocations: 1.23 MB / 1.214 GB, free: 97.95 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.008931/2.358, allocations: 3.705 MB / 1.218 GB, free: 94.18 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00423/2.362, allocations: 1.66 MB / 1.22 GB, free: 92.5 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0251/2.387, allocations: 15.77 MB / 1.235 GB, free: 76.63 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002207/2.388, allocations: 71.73 kB / 1.235 GB, free: 76.56 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/2.388, allocations: 0 / 1.235 GB, free: 76.56 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01161/2.399, allocations: 3.458 MB / 1.238 GB, free: 73.07 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005713/2.405, allocations: 288 kB / 1.239 GB, free: 72.79 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01441/2.419, allocations: 0.5617 MB / 1.239 GB, free: 72.22 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001684/2.421, allocations: 1.125 MB / 1.24 GB, free: 71.1 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0304/2.451, allocations: 16.68 MB / 1.257 GB, free: 54.52 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02369/2.475, allocations: 17.98 MB / 1.274 GB, free: 36.43 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1986/2.674, allocations: 5.566 MB / 1.28 GB, free: 248.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01471/2.689, allocations: 7.948 MB / 1.287 GB, free: 247.8 MB / 0.6232 GB Notification: Performance of Backend: time 1.343e-06/2.689, allocations: 0 / 1.287 GB, free: 247.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.06228/2.751, allocations: 27.94 MB / 1.315 GB, free: 242 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.05735/2.808, allocations: 29.44 MB / 1.343 GB, free: 228.5 MB / 0.6232 GB Notification: Performance of Templates: time 0.5042/3.312, allocations: 251.2 MB / 1.589 GB, free: 241.5 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.pipe 2>&1)