Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.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.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001148/0.001148, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2232/0.2232, allocations: 16.78 MB / 306.7 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 371.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 53.55 MB / 424.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.01272/0.3357, allocations: 19.11 MB / 443.8 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00886/0.3446, allocations: 4.935 MB / 448.7 MB, free: 22.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.3472, allocations: 44 kB / 448.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.3499, allocations: 0.5644 MB / 449.3 MB, free: 22.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.3575, allocations: 1.937 MB / 451.2 MB, free: 21.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.3601, allocations: 0.8223 MB / 452.1 MB, free: 20.8 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LOAD1.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LOAD1.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘BUSINF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘BUSINF.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LOAD2.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LOAD2.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0046/0.3647, allocations: 2.927 MB / 455 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.3661, allocations: 0.5318 MB / 455.5 MB, free: 19.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.3684, allocations: 0.9086 MB / 456.4 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.3704, allocations: 0.9931 MB / 457.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004999/0.3709, allocations: 70.81 kB / 457.5 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3731, allocations: 390.6 kB / 457.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.3736, allocations: 272.9 kB / 458.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.3755, allocations: 0.9396 MB / 459.1 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.3794, allocations: 2.59 MB / 461.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3794, allocations: 0 / 461.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3794, allocations: 3.25 kB / 461.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.68e-05/0.3795, allocations: 4 kB / 461.7 MB, free: 16.26 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.01614/0.3956, allocations: 3.128 MB / 464.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.446e-05/0.3957, allocations: 9.094 kB / 464.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.3997, allocations: 448.8 kB / 465.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.4028, allocations: 1.145 MB / 466.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.4029, allocations: 102.5 kB / 466.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.4032, allocations: 143.9 kB / 466.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.4063, allocations: 1.46 MB / 468.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/0.4064, allocations: 7.5 kB / 468.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.4066, allocations: 53.25 kB / 468.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.4066, allocations: 32.88 kB / 468.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.4093, allocations: 1.084 MB / 469.3 MB, free: 12.34 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.01177/0.4211, allocations: 9.677 MB / 479 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.4241, allocations: 1.272 MB / 480.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.4249, allocations: 400.2 kB / 480.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.425, allocations: 22.42 kB / 480.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/0.4251, allocations: 49.33 kB / 480.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 4.508e-06/0.4251, allocations: 0 / 480.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.007988/0.4331, allocations: 1.893 MB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4332, allocations: 92.48 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.4361, allocations: 1.301 MB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.4364, allocations: 54.06 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000694/0.4371, allocations: 0.7036 MB / 484.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/0.4378, allocations: 433.6 kB / 485.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.439, allocations: 0.6232 MB / 485.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.4391, allocations: 305.6 kB / 486.1 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.4413, allocations: 0.8973 MB / 487 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.4441, allocations: 1.198 MB / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.4485, allocations: 1.801 MB / 490 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.4485, allocations: 1.406 kB / 490 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008669/0.4572, allocations: 3.019 MB / 493 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.4573, allocations: 6.531 kB / 493 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.4573, allocations: 3.672 kB / 493 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.4618, allocations: 0.5149 MB / 493.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/0.4666, allocations: 0.7097 MB / 494.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009276/0.4759, allocations: 4.435 MB / 498.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/0.4798, allocations: 236.7 kB / 498.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.4801, allocations: 111.9 kB / 499 MB, free: 9.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 (LOAD2.componentPF.isSlackBus,BUSINF.componentPF.isSlackBus,LOAD1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(8,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.4811, allocations: 404.4 kB / 499.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.4815, allocations: 154.8 kB / 499.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.4845, allocations: 1.177 MB / 0.489 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.4846, allocations: 5.109 kB / 0.489 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4846, allocations: 0 / 0.489 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.4854, allocations: 364.8 kB / 0.4893 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.4856, allocations: 19.94 kB / 0.4894 GB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4867, allocations: 53.89 kB / 0.4894 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.4869, allocations: 90.97 kB / 0.4895 GB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002646/0.4896, allocations: 1.244 MB / 0.4907 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001962/0.4916, allocations: 1.462 MB / 0.4921 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005157/0.4921, allocations: 334.1 kB / 0.4925 GB, free: 4.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.4932, allocations: 0.8041 MB / 0.4932 GB, free: 3.773 MB / 366.1 MB Notification: Performance of Backend: time 6.21e-07/0.4932, allocations: 0 / 0.4932 GB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.4985, allocations: 2.4 MB / 0.4956 GB, free: 1.352 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.004369/0.5029, allocations: 3.484 MB / 0.499 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.04504/0.5479, allocations: 23.71 MB / 0.5221 GB, free: 6.148 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)