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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001935/0.001936, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1828/0.1828, allocations: 16.77 MB / 306.8 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 371.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.268, allocations: 53.54 MB / 424.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.01265/0.2807, allocations: 19.1 MB / 443.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007169/0.2879, allocations: 4.946 MB / 448.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.2894, allocations: 43.03 kB / 448.8 MB, free: 22.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.291, allocations: 0.5658 MB / 449.3 MB, free: 22.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.2951, allocations: 1.93 MB / 451.3 MB, free: 21.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.2968, allocations: 0.8208 MB / 452.1 MB, free: 20.86 MB / 350.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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.003138/0.2999, allocations: 2.927 MB / 455 MB, free: 19.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.3008, allocations: 0.538 MB / 455.5 MB, free: 19.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3019, allocations: 0.9109 MB / 456.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008694/0.3028, allocations: 0.9845 MB / 457.4 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.303, allocations: 70.84 kB / 457.5 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3042, allocations: 393.8 kB / 457.9 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3044, allocations: 278.5 kB / 458.2 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007246/0.3051, allocations: 0.9292 MB / 459.1 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.3072, allocations: 2.598 MB / 461.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3072, allocations: 2.938 kB / 461.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3072, allocations: 0 / 461.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.3073, allocations: 0 / 461.7 MB, free: 16.33 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.01092/0.3182, allocations: 3.129 MB / 464.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3182, allocations: 8.844 kB / 464.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.3206, allocations: 447.4 kB / 465.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.3226, allocations: 1.158 MB / 466.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.3227, allocations: 102.6 kB / 466.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3228, allocations: 138.7 kB / 466.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3247, allocations: 1.458 MB / 468.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.3247, allocations: 8.531 kB / 468.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.3248, allocations: 55.59 kB / 468.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.3249, allocations: 33.59 kB / 468.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.3264, allocations: 1.084 MB / 469.3 MB, free: 12.4 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.007665/0.3341, allocations: 9.672 MB / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.3362, allocations: 1.267 MB / 480.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.3368, allocations: 400.6 kB / 480.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.262e-05/0.3368, allocations: 22.48 kB / 480.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.3369, allocations: 45.7 kB / 480.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.968e-06/0.3369, allocations: 0 / 480.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.005487/0.3424, allocations: 1.896 MB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.3424, allocations: 89.61 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3441, allocations: 1.314 MB / 484 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.3442, allocations: 52.42 kB / 484 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.3447, allocations: 0.6962 MB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.3451, allocations: 432.1 kB / 485.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008414/0.346, allocations: 0.6256 MB / 485.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.346, allocations: 305.1 kB / 486.1 MB, free: 292 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3474, allocations: 0.896 MB / 487 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.3492, allocations: 1.194 MB / 488.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.3522, allocations: 1.802 MB / 490 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3522, allocations: 5 kB / 490 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005873/0.3581, allocations: 3.013 MB / 493 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.3582, allocations: 7.438 kB / 493 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.3582, allocations: 2.312 kB / 493 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.3614, allocations: 0.5263 MB / 493.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.3643, allocations: 0.7082 MB / 494.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.3707, allocations: 4.427 MB / 498.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.3733, allocations: 239.4 kB / 498.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.3735, allocations: 113.2 kB / 499 MB, free: 9.277 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.0008556/0.3744, allocations: 401.2 kB / 499.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.3747, allocations: 154.7 kB / 499.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.3773, allocations: 1.179 MB / 0.489 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.3774, allocations: 9.375 kB / 0.489 GB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3774, allocations: 0 / 0.489 GB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.3781, allocations: 368.8 kB / 0.4894 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.3783, allocations: 27.88 kB / 0.4894 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.3792, allocations: 54.22 kB / 0.4894 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3794, allocations: 77.95 kB / 0.4895 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002703/0.3821, allocations: 1.252 MB / 0.4907 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00206/0.3842, allocations: 1.462 MB / 0.4922 GB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005167/0.3847, allocations: 332.1 kB / 0.4925 GB, free: 4.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.3859, allocations: 0.797 MB / 0.4933 GB, free: 3.777 MB / 366.1 MB Notification: Performance of Backend: time 5.91e-07/0.3859, allocations: 0 / 0.4933 GB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005488/0.3914, allocations: 2.405 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.005011/0.3965, allocations: 3.477 MB / 0.499 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.04181/0.4383, allocations: 23.72 MB / 0.5222 GB, free: 6.152 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)