Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.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.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, 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.001229/0.001229, allocations: 191 kB / 16.25 MB, free: 6.633 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1761/0.1761, allocations: 16.78 MB / 306.9 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.91 kB / 371.3 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2677, allocations: 53.54 MB / 424.8 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.03176/0.2995, allocations: 56.89 MB / 481.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.3194, allocations: 10.77 MB / 492.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006381/0.3258, allocations: 109.9 kB / 492.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.3318, allocations: 1.317 MB / 493.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.3456, allocations: 4.087 MB / 498 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004924/0.3506, allocations: 1.854 MB / 499.9 MB, free: 2.391 MB / 366.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 ‘line1.UStartAPF / 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 ‘line1.UStartBPF / 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 ‘line1.componentPF.UStartAPF / 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 ‘line1.componentPF.UStartBPF / 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 ‘bus1.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 ‘bus1.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 ‘bus2.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 ‘bus2.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 ‘line2.UStartAPF / 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 ‘line2.UStartBPF / 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 ‘line2.componentPF.UStartAPF / 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 ‘line2.componentPF.UStartBPF / 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 ‘bus3.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 ‘bus3.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 ‘bus4.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 ‘bus4.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.01494/0.3655, allocations: 8.342 MB / 0.4963 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.3691, allocations: 1.551 MB / 0.4978 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006312/0.3754, allocations: 2.818 MB / 0.5006 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00721/0.3826, allocations: 3.031 MB / 0.5035 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.3849, allocations: 348.1 kB / 0.5039 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005698/0.3906, allocations: 0.9903 MB / 0.5048 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.3922, allocations: 0.8523 MB / 0.5057 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006755/0.399, allocations: 2.789 MB / 0.5084 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009124/0.4082, allocations: 6.83 MB / 0.515 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4082, allocations: 0 / 0.515 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4082, allocations: 0 / 0.515 GB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002235/0.4084, allocations: 0 / 0.515 GB, free: 14.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 868 * Number of variables: 868 Notification: Performance of Generate backend data structure: time 0.03173/0.4402, allocations: 8.142 MB / 0.523 GB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4402, allocations: 8.031 kB / 0.523 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.4466, allocations: 1.15 MB / 0.5241 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.4523, allocations: 2.754 MB / 0.5268 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.4525, allocations: 282.8 kB / 0.5271 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005414/0.4531, allocations: 372 kB / 0.5274 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.4593, allocations: 3.947 MB / 0.5313 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-05/0.4594, allocations: 19.81 kB / 0.5313 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.4597, allocations: 152 kB / 0.5315 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.4598, allocations: 91.94 kB / 0.5315 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/0.4653, allocations: 3.269 MB / 0.5347 GB, free: 10.19 MB / 414.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.02786/0.4932, allocations: 24.96 MB / 0.5591 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.5007, allocations: 4.99 MB / 0.564 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.5026, allocations: 1.294 MB / 0.5652 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.5028, allocations: 55.22 kB / 0.5653 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.161e-05/0.5029, allocations: 74.2 kB / 0.5654 GB, free: 9.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=336): time 7.624e-06/0.5029, allocations: 0 / 0.5654 GB, free: 9.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.01385/0.5167, allocations: 5.515 MB / 0.5708 GB, free: 3.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.5168, allocations: 171.8 kB / 0.5709 GB, free: 3.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.5207, allocations: 2.981 MB / 0.5738 GB, free: 312 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004663/0.5212, allocations: 105.7 kB / 0.5739 GB, free: 200 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.5225, allocations: 1.638 MB / 0.5755 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/0.524, allocations: 1.311 MB / 0.5768 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002325/0.5263, allocations: 1.661 MB / 0.5784 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.5264, allocations: 301.1 kB / 0.5787 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/0.5306, allocations: 2.529 MB / 0.5812 GB, free: 8.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/0.5352, allocations: 3.27 MB / 0.5844 GB, free: 5.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007657/0.5429, allocations: 5.08 MB / 0.5893 GB, free: 92 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/0.5429, allocations: 4 kB / 0.5894 GB, free: 88 kB / 462.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.1975/0.7404, allocations: 8.062 MB / 0.5972 GB, free: 128.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.7405, allocations: 11.31 kB / 0.5972 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.7405, allocations: 9.219 kB / 0.5972 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.7437, allocations: 0.7319 MB / 0.598 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/0.7512, allocations: 1.959 MB / 0.5999 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.7619, allocations: 10.25 MB / 0.6099 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/0.7679, allocations: 0.592 MB / 0.6105 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008153/0.7687, allocations: 300.1 kB / 0.6107 GB, free: 120.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (bus4.componentPF.isSlackBus,bus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,bus1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1166): * Single equations (assignments): 1162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,0,50.0%), (22,0,12.0%), (6,0,50.0%), (22,0,12.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.7708, allocations: 0.8766 MB / 0.6116 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008713/0.7717, allocations: 388.9 kB / 0.612 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/0.7768, allocations: 3.287 MB / 0.6152 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/0.7769, allocations: 19.31 kB / 0.6152 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.7769, allocations: 0 / 0.6152 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/0.7788, allocations: 0.8245 MB / 0.616 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009754/0.7798, allocations: 56.47 kB / 0.6161 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003034/0.7829, allocations: 140.4 kB / 0.6162 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.7833, allocations: 225.8 kB / 0.6164 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007081/0.7904, allocations: 3.624 MB / 0.6199 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005786/0.7962, allocations: 4.079 MB / 0.6239 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001444/0.7977, allocations: 1.023 MB / 0.6249 GB, free: 114.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002677/0.8004, allocations: 1.781 MB / 0.6267 GB, free: 113.7 MB / 462.1 MB Notification: Performance of Backend: time 3.41e-07/0.8004, allocations: 2.312 kB / 0.6267 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01398/0.8144, allocations: 6.251 MB / 0.6328 GB, free: 111.1 MB / 462.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.01252/0.827, allocations: 8.35 MB / 0.6409 GB, free: 106 MB / 462.1 MB Notification: Performance of Templates: time 0.1179/0.9449, allocations: 62.71 MB / 0.7022 GB, free: 54.31 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)