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.001281/0.001281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001413/0.001413, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1869/0.1869, allocations: 16.72 MB / 306.8 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 371.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2841, allocations: 53.54 MB / 424.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.01267/0.2968, allocations: 19.1 MB / 443.9 MB, free: 26.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3036, allocations: 4.934 MB / 448.8 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.3054, allocations: 42.5 kB / 448.8 MB, free: 22.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3072, allocations: 0.568 MB / 449.4 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.3118, allocations: 1.912 MB / 451.3 MB, free: 21.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.3137, allocations: 0.8139 MB / 452.1 MB, free: 20.94 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LOAD2.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003464/0.3172, allocations: 3.111 MB / 455.2 MB, free: 19.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3184, allocations: 0.6408 MB / 455.9 MB, free: 18.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.3199, allocations: 1.056 MB / 456.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.3215, allocations: 1.084 MB / 458 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.3218, allocations: 128.9 kB / 458.2 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3236, allocations: 0.4964 MB / 458.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.3239, allocations: 334.2 kB / 459 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.3256, allocations: 1.037 MB / 460 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.3289, allocations: 2.638 MB / 462.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3289, allocations: 0 / 462.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3289, allocations: 0 / 462.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.329, allocations: 3.938 kB / 462.7 MB, free: 15.76 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.01024/0.3392, allocations: 3.134 MB / 465.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3393, allocations: 9.094 kB / 465.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.3416, allocations: 453 kB / 466.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.3436, allocations: 1.152 MB / 467.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.3437, allocations: 102.5 kB / 467.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.3439, allocations: 138 kB / 467.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3459, allocations: 1.46 MB / 469.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.3459, allocations: 11.86 kB / 469.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3461, allocations: 55.62 kB / 469.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.3461, allocations: 33.56 kB / 469.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.3477, allocations: 1.082 MB / 470.3 MB, free: 11.82 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.01/0.3577, allocations: 9.673 MB / 479.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.36, allocations: 1.267 MB / 481.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.3605, allocations: 402.3 kB / 481.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.3606, allocations: 15.06 kB / 481.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3607, allocations: 49.62 kB / 481.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/0.3607, allocations: 0 / 481.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.005251/0.3659, allocations: 1.895 MB / 483.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.366, allocations: 92.55 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.3679, allocations: 1.306 MB / 485 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.3681, allocations: 53.55 kB / 485 MB, free: 1.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/0.3686, allocations: 0.6995 MB / 485.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.369, allocations: 437.1 kB / 486.1 MB, free: 332 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/0.3699, allocations: 0.6203 MB / 486.8 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3701, allocations: 306.1 kB / 487.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3715, allocations: 0.9003 MB / 488 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.3734, allocations: 1.19 MB / 489.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.3764, allocations: 1.806 MB / 491 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.3764, allocations: 1 kB / 491 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005918/0.3824, allocations: 3.013 MB / 494 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.3824, allocations: 7.594 kB / 494 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.3825, allocations: 2.688 kB / 494 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.3855, allocations: 0.526 MB / 494.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.3887, allocations: 0.7043 MB / 495.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.3953, allocations: 4.819 MB / 0.4883 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.3982, allocations: 242.2 kB / 0.4885 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.3985, allocations: 108 kB / 0.4886 GB, free: 8.281 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.0009037/0.3994, allocations: 401.8 kB / 0.489 GB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.3998, allocations: 158.8 kB / 0.4892 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.4024, allocations: 1.181 MB / 0.4903 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4024, allocations: 4.969 kB / 0.4903 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4024, allocations: 4 kB / 0.4903 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.4032, allocations: 364.5 kB / 0.4907 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4034, allocations: 16 kB / 0.4907 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.4043, allocations: 50.03 kB / 0.4907 GB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.4045, allocations: 78.52 kB / 0.4908 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002654/0.4072, allocations: 1.259 MB / 0.4921 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001891/0.4091, allocations: 1.456 MB / 0.4935 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004549/0.4095, allocations: 331.8 kB / 0.4938 GB, free: 3.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.4106, allocations: 0.8048 MB / 0.4946 GB, free: 2.496 MB / 366.1 MB Notification: Performance of Backend: time 1.903e-06/0.4106, allocations: 0 / 0.4946 GB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005394/0.4161, allocations: 2.444 MB / 0.497 GB, free: 28 kB / 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.004818/0.4209, allocations: 3.491 MB / 0.5004 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Templates: time 0.04303/0.464, allocations: 25.46 MB / 0.5252 GB, free: 3.074 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)