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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 93.92 kB / 19.73 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 212.2 kB / 23.02 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08834/0.08834, allocations: 16.97 MB / 330.2 MB, free: 2.348 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF") translateModel(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 59.91 kB / 461.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1477, allocations: 57.74 MB / 0.5068 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF): time 0.4394/0.5871, allocations: 180.9 MB / 0.6835 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.07695/0.6641, allocations: 36.31 MB / 0.719 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01943/0.6835, allocations: 488.7 kB / 0.7194 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.02008/0.7036, allocations: 5.418 MB / 0.7247 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.4025/1.106, allocations: 16.9 MB / 0.7412 GB, free: 34.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02098/1.127, allocations: 6.386 MB / 0.7475 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.05257/1.18, allocations: 37.19 MB / 0.7838 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01768/1.197, allocations: 8.277 MB / 0.7919 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02982/1.227, allocations: 12.84 MB / 0.8044 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02359/1.251, allocations: 13.19 MB / 0.8173 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.006442/1.257, allocations: 1.609 MB / 0.8189 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/1.273, allocations: 3.278 MB / 0.8221 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00667/1.279, allocations: 3.751 MB / 0.8257 GB, free: 20.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.02401/1.303, allocations: 9.555 MB / 0.8351 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04948/1.353, allocations: 27.71 MB / 0.8621 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.353, allocations: 0 / 0.8621 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/1.353, allocations: 0 / 0.8621 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0009938/1.354, allocations: 0 / 0.8621 GB, free: 3.355 MB / 0.5762 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.1145/1.468, allocations: 28.91 MB / 0.8903 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.468, allocations: 8.031 kB / 0.8904 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03561/1.504, allocations: 4.96 MB / 0.8952 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/1.54, allocations: 11.79 MB / 0.9067 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002473/1.543, allocations: 2.04 MB / 0.9087 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004983/1.548, allocations: 1.445 MB / 0.9101 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05219/1.6, allocations: 19.42 MB / 0.9291 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000716/1.601, allocations: 90.47 kB / 0.9292 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003895/1.605, allocations: 0.6328 MB / 0.9298 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000448/1.605, allocations: 375.9 kB / 0.9301 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0363/1.641, allocations: 14.53 MB / 0.9443 GB, free: 13.84 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.4589/2.1, allocations: 87.55 MB / 1.03 GB, free: 236.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/2.126, allocations: 12.99 MB / 1.043 GB, free: 232.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/2.138, allocations: 5.185 MB / 1.048 GB, free: 229.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/2.14, allocations: 209.5 kB / 1.048 GB, free: 229.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01535/2.155, allocations: 11.39 MB / 1.059 GB, free: 221.8 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1476): time 3.392e-05/2.155, allocations: 0.6875 kB / 1.059 GB, free: 221.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1476): time 0.09973/2.255, allocations: 29.02 MB / 1.087 GB, free: 213.6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008445/2.255, allocations: 2.495 MB / 1.09 GB, free: 210.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03463/2.29, allocations: 12.55 MB / 1.102 GB, free: 200.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0031/2.293, allocations: 345.7 kB / 1.102 GB, free: 200.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.007571/2.301, allocations: 7.254 MB / 1.109 GB, free: 194 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.008648/2.309, allocations: 5.877 MB / 1.115 GB, free: 188.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03094/2.34, allocations: 6.88 MB / 1.122 GB, free: 181.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/2.34, allocations: 301.1 kB / 1.122 GB, free: 181.1 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02376/2.364, allocations: 10.77 MB / 1.133 GB, free: 170.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02963/2.394, allocations: 14.66 MB / 1.147 GB, free: 154.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03094/2.425, allocations: 20.97 MB / 1.167 GB, free: 133.1 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/2.425, allocations: 15.94 kB / 1.167 GB, free: 133.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5029) (initialization): time 0.072/2.497, allocations: 35.25 MB / 1.202 GB, free: 97.83 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/2.497, allocations: 0.5108 MB / 1.202 GB, free: 97.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/2.497, allocations: 44 kB / 1.202 GB, free: 97.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/2.519, allocations: 4.763 MB / 1.207 GB, free: 92.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03023/2.55, allocations: 7.49 MB / 1.214 GB, free: 84.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05424/2.604, allocations: 38.51 MB / 1.252 GB, free: 45.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0339/2.638, allocations: 2.335 MB / 1.254 GB, free: 43.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007922/2.646, allocations: 1.215 MB / 1.255 GB, free: 42.09 MB / 0.7012 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 (4642): * Single equations (assignments): 4618 * 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.01977/2.665, allocations: 3.669 MB / 1.259 GB, free: 38.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00991/2.675, allocations: 1.681 MB / 1.261 GB, free: 36.67 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.043/2.718, allocations: 15.83 MB / 1.276 GB, free: 20.69 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003505/2.719, allocations: 71.73 kB / 1.276 GB, free: 20.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/2.719, allocations: 0 / 1.276 GB, free: 20.62 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01227/2.731, allocations: 3.38 MB / 1.279 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0061/2.737, allocations: 287.9 kB / 1.28 GB, free: 16.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01715/2.754, allocations: 0.554 MB / 1.28 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003168/2.757, allocations: 1.2 MB / 1.281 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.298/3.055, allocations: 16.76 MB / 1.298 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04025/3.096, allocations: 18.6 MB / 1.316 GB, free: 263.6 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009203/3.105, allocations: 4.617 MB / 1.32 GB, free: 262 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.01672/3.122, allocations: 7.513 MB / 1.328 GB, free: 259.3 MB / 0.7012 GB Notification: Performance of Backend: time 4.9e-07/3.122, allocations: 0 / 1.328 GB, free: 259.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.07321/3.195, allocations: 24.63 MB / 1.352 GB, free: 249.4 MB / 0.7012 GB Notification: Performance of SimCode: time 0.06398/3.259, allocations: 29.54 MB / 1.381 GB, free: 235.1 MB / 0.7012 GB Notification: Performance of Templates: time 0.9151/4.174, allocations: 290.1 MB / 1.664 GB, free: 212 MB / 0.7013 GB " [Timeout remaining time 656] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransmissionLineWithBreakersPF.makefile [Timeout 660] (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) [Timeout 50] [Calling sys.exit(0), Time elapsed: 20.25428687094245] Failed to read output from testmodel.py, exit status != 0: 4.185536702047102 4.195392698 2.839672031 Calling exit ...