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.001177/0.001177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00143/0.00143, allocations: 191.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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.19/0.19, allocations: 16.77 MB / 306.9 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.91 kB / 371.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2756, allocations: 53.55 MB / 424.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.01174/0.2874, allocations: 19.11 MB / 443.9 MB, free: 26.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.2935, allocations: 4.929 MB / 448.9 MB, free: 23.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.2948, allocations: 40.75 kB / 448.9 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2965, allocations: 0.572 MB / 449.5 MB, free: 22.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.3007, allocations: 1.909 MB / 451.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3024, allocations: 0.8048 MB / 452.2 MB, free: 21.03 MB / 350.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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.002823/0.3052, allocations: 3.111 MB / 455.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009994/0.3062, allocations: 0.6536 MB / 456 MB, free: 19.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.3076, allocations: 1.053 MB / 457 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.3091, allocations: 1.092 MB / 458.1 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.3095, allocations: 129.7 kB / 458.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.311, allocations: 0.4943 MB / 458.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.3114, allocations: 336.4 kB / 459.1 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.3129, allocations: 1.036 MB / 460.1 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.3164, allocations: 2.638 MB / 462.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3164, allocations: 0 / 462.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3164, allocations: 0 / 462.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.774e-05/0.3165, allocations: 0 / 462.7 MB, free: 15.83 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.01042/0.3269, allocations: 3.125 MB / 465.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.327, allocations: 9.344 kB / 465.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.3292, allocations: 450.8 kB / 466.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.3308, allocations: 1.152 MB / 467.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.3308, allocations: 101.9 kB / 467.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.331, allocations: 138.5 kB / 467.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3328, allocations: 1.46 MB / 469.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.3328, allocations: 11.22 kB / 469.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3329, allocations: 61.56 kB / 469.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.333, allocations: 33.41 kB / 469.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.3345, allocations: 1.078 MB / 470.3 MB, free: 11.91 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.007177/0.3417, allocations: 9.679 MB / 480 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3435, allocations: 1.274 MB / 481.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.344, allocations: 396.5 kB / 481.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.3441, allocations: 14.64 kB / 481.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3441, allocations: 49.62 kB / 481.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.386e-06/0.3442, allocations: 0 / 481.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.004777/0.3489, allocations: 1.895 MB / 483.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.349, allocations: 92.95 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.3513, allocations: 1.301 MB / 485 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.3515, allocations: 52.77 kB / 485.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/0.3522, allocations: 0.7041 MB / 485.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.3526, allocations: 434.2 kB / 486.2 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3536, allocations: 0.6234 MB / 486.8 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.3537, allocations: 309.7 kB / 487.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.3553, allocations: 0.8965 MB / 488 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3572, allocations: 1.191 MB / 489.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.3601, allocations: 1.809 MB / 491 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.3601, allocations: 1.219 kB / 491 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005654/0.3658, allocations: 3.012 MB / 494 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3658, allocations: 7.594 kB / 494.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3659, allocations: 2.25 kB / 494.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002933/0.3688, allocations: 0.5264 MB / 494.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.3716, allocations: 0.7092 MB / 495.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.3779, allocations: 4.812 MB / 0.4884 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.3804, allocations: 239.2 kB / 0.4886 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/0.3807, allocations: 108.2 kB / 0.4887 GB, free: 8.312 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.0008402/0.3816, allocations: 399.8 kB / 0.4891 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.3819, allocations: 154.1 kB / 0.4892 GB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.3844, allocations: 1.182 MB / 0.4904 GB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3844, allocations: 4.828 kB / 0.4904 GB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3844, allocations: 4 kB / 0.4904 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.3851, allocations: 368.2 kB / 0.4908 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.3854, allocations: 20.66 kB / 0.4908 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009568/0.3863, allocations: 45.94 kB / 0.4908 GB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3865, allocations: 82.09 kB / 0.4909 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002628/0.3891, allocations: 1.26 MB / 0.4921 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001965/0.3911, allocations: 1.458 MB / 0.4935 GB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004807/0.3916, allocations: 331.8 kB / 0.4939 GB, free: 3.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.3927, allocations: 0.8048 MB / 0.4947 GB, free: 2.594 MB / 366.1 MB Notification: Performance of Backend: time 7.31e-07/0.3927, allocations: 0 / 0.4947 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005152/0.3979, allocations: 2.444 MB / 0.497 GB, free: 124 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.004462/0.4024, allocations: 3.486 MB / 0.5004 GB, free: 12.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03921/0.4416, allocations: 25.45 MB / 0.5253 GB, free: 3.184 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)