Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.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.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001211/0.001211, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1906/0.1906, allocations: 14.22 MB / 305.2 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003647, allocations: 8 kB / 371.7 MB, free: 4.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.393, allocations: 53.91 MB / 425.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.006911/0.3999, allocations: 7.74 MB / 433.3 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006016/0.406, allocations: 3.895 MB / 437.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4075, allocations: 29.94 kB / 437.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.409, allocations: 379.7 kB / 437.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.4136, allocations: 1.639 MB / 439.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009435/0.4146, allocations: 416.4 kB / 439.6 MB, free: 32.57 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.UStart / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN.UStartA / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN.UStartB / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStart / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003204/0.4178, allocations: 1.675 MB / 441.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009883/0.4188, allocations: 0.564 MB / 441.9 MB, free: 31.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.4201, allocations: 0.7058 MB / 442.6 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.4215, allocations: 0.7442 MB / 443.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.4217, allocations: 41.53 kB / 443.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.4232, allocations: 350.7 kB / 443.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.4234, allocations: 178.4 kB / 443.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.424, allocations: 296.1 kB / 444.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.4256, allocations: 1.417 MB / 445.6 MB, free: 29.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4256, allocations: 4 kB / 445.6 MB, free: 29.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4256, allocations: 0 / 445.6 MB, free: 29.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.4256, allocations: 3.156 kB / 445.6 MB, free: 29.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.007488/0.4331, allocations: 2.192 MB / 447.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4332, allocations: 6.5 kB / 447.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009715/0.4342, allocations: 221.8 kB / 448 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.4355, allocations: 0.8635 MB / 448.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.4356, allocations: 80.36 kB / 449 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4357, allocations: 112.2 kB / 449.1 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4371, allocations: 0.9928 MB / 450.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.4371, allocations: 3.344 kB / 450.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.4372, allocations: 38.62 kB / 450.1 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.4372, allocations: 30.61 kB / 450.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4384, allocations: 0.9394 MB / 451.1 MB, free: 27.18 MB / 350.1 MB 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.006125/0.4445, allocations: 6.982 MB / 458.1 MB, free: 21.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.446, allocations: 1.158 MB / 459.2 MB, free: 20.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.4461, allocations: 18.14 kB / 459.2 MB, free: 20.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.4461, allocations: 45.84 kB / 459.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.4461, allocations: 0 / 459.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.002843/0.449, allocations: 1.356 MB / 460.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4491, allocations: 138.5 kB / 460.8 MB, free: 19.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.4502, allocations: 0.8925 MB / 461.7 MB, free: 19.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.4503, allocations: 44.73 kB / 461.7 MB, free: 19.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.4507, allocations: 0.5665 MB / 462.3 MB, free: 18.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.451, allocations: 345.5 kB / 462.6 MB, free: 18.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.4511, allocations: 37.91 kB / 462.6 MB, free: 18.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4513, allocations: 437.9 kB / 463.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.452, allocations: 498.6 kB / 463.6 MB, free: 17.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/0.4528, allocations: 0.7717 MB / 464.3 MB, free: 17.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.4537, allocations: 0.6293 MB / 465 MB, free: 16.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4537, allocations: 0 / 465 MB, free: 16.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.002614/0.4563, allocations: 1.769 MB / 466.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4563, allocations: 8.375 kB / 466.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4564, allocations: 6.844 kB / 466.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.4578, allocations: 295.4 kB / 467 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4594, allocations: 424.4 kB / 467.4 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.463, allocations: 3.525 MB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.4646, allocations: 140 kB / 471.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4648, allocations: 68.62 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 0} * Non-linear torn systems: 1 {12 0} Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.4653, allocations: 311.4 kB / 471.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.4655, allocations: 115.6 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.4671, allocations: 0.8493 MB / 472.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4672, allocations: 7.219 kB / 472.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4672, allocations: 5.094 kB / 472.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.4676, allocations: 267.7 kB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4677, allocations: 11.44 kB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.4683, allocations: 19.31 kB / 472.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4684, allocations: 64.72 kB / 472.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001882/0.4703, allocations: 1.131 MB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001428/0.4717, allocations: 1.403 MB / 475.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003665/0.4721, allocations: 272.5 kB / 475.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008379/0.473, allocations: 0.5716 MB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Backend: time 7.71e-07/0.473, allocations: 0 / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.4763, allocations: 1.563 MB / 477.7 MB, free: 9.203 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.003178/0.4795, allocations: 2.604 MB / 480.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of Templates: time 0.02939/0.5089, allocations: 15.54 MB / 495.9 MB, free: 388 kB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe 2>&1)