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.001062/0.001062, 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.001155/0.001155, allocations: 194 kB / 16.14 MB, free: 6.719 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.192/0.192, allocations: 16.78 MB / 306.7 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 371.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 53.55 MB / 424.7 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.03368/0.3628, allocations: 56.88 MB / 481.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.3821, allocations: 10.79 MB / 492.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006466/0.3886, allocations: 105.4 kB / 492.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00645/0.3951, allocations: 1.316 MB / 493.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.4118, allocations: 4.11 MB / 497.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006473/0.4183, allocations: 1.87 MB / 499.7 MB, free: 2.027 MB / 366.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 ‘line1.UStartAPF / 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 ‘line1.UStartBPF / 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 ‘line1.componentPF.UStartAPF / 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 ‘line1.componentPF.UStartBPF / 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 ‘bus1.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 ‘bus1.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 ‘bus2.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 ‘bus2.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 ‘line2.UStartAPF / 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 ‘line2.UStartBPF / 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 ‘line2.componentPF.UStartAPF / 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 ‘line2.componentPF.UStartBPF / 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 ‘bus3.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 ‘bus3.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 ‘bus4.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 ‘bus4.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.01471/0.433, allocations: 7.848 MB / 0.4957 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.4366, allocations: 1.289 MB / 0.4969 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006446/0.4431, allocations: 2.41 MB / 0.4993 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006772/0.4499, allocations: 2.778 MB / 0.502 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.4513, allocations: 185.5 kB / 0.5022 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/0.4572, allocations: 0.6942 MB / 0.5028 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.4584, allocations: 0.7036 MB / 0.5035 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007256/0.4656, allocations: 2.497 MB / 0.506 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.4765, allocations: 6.702 MB / 0.5125 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4766, allocations: 0 / 0.5125 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4766, allocations: 0 / 0.5125 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002638/0.4769, allocations: 0 / 0.5125 GB, free: 1.414 MB / 382.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.03592/0.5128, allocations: 8.146 MB / 0.5205 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.5129, allocations: 8.031 kB / 0.5205 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007277/0.5202, allocations: 1.154 MB / 0.5216 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008381/0.5286, allocations: 2.75 MB / 0.5243 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.529, allocations: 282.8 kB / 0.5246 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.5304, allocations: 372 kB / 0.5249 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007898/0.5383, allocations: 3.943 MB / 0.5288 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.707e-05/0.5384, allocations: 19.81 kB / 0.5288 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004788/0.5389, allocations: 156 kB / 0.5289 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.539, allocations: 91.98 kB / 0.529 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.5453, allocations: 3.273 MB / 0.5322 GB, free: 12.68 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.03588/0.5812, allocations: 24.94 MB / 0.5566 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008022/0.5893, allocations: 5 MB / 0.5615 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.5914, allocations: 1.3 MB / 0.5627 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.5917, allocations: 55.3 kB / 0.5628 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.155e-05/0.5917, allocations: 73.88 kB / 0.5629 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=336): time 5.38e-06/0.5917, allocations: 0 / 0.5629 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.01484/0.6066, allocations: 5.515 MB / 0.5682 GB, free: 5.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.6067, allocations: 163.8 kB / 0.5684 GB, free: 5.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.6118, allocations: 2.977 MB / 0.5713 GB, free: 2.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008695/0.6127, allocations: 105.7 kB / 0.5714 GB, free: 2.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.6146, allocations: 1.638 MB / 0.573 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002077/0.6167, allocations: 1.315 MB / 0.5743 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/0.6195, allocations: 1.668 MB / 0.5759 GB, free: 14.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6196, allocations: 305.1 kB / 0.5762 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/0.6241, allocations: 2.522 MB / 0.5787 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/0.6295, allocations: 3.266 MB / 0.5819 GB, free: 7.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008594/0.6381, allocations: 5.08 MB / 0.5868 GB, free: 2.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/0.6382, allocations: 4 kB / 0.5868 GB, free: 2.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.2369/0.8751, allocations: 8.065 MB / 0.5947 GB, free: 129.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.8751, allocations: 18.16 kB / 0.5947 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.8752, allocations: 2.594 kB / 0.5947 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/0.8785, allocations: 0.7198 MB / 0.5954 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008014/0.8865, allocations: 1.96 MB / 0.5973 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.897, allocations: 9.478 MB / 0.6066 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00644/0.9035, allocations: 0.5958 MB / 0.6072 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.9046, allocations: 289.7 kB / 0.6075 GB, free: 122.7 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.002055/0.9067, allocations: 0.8817 MB / 0.6083 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009936/0.9077, allocations: 388.7 kB / 0.6087 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005079/0.9128, allocations: 3.285 MB / 0.6119 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/0.9128, allocations: 24.28 kB / 0.6119 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9129, allocations: 2.531 kB / 0.6119 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.9147, allocations: 0.8213 MB / 0.6127 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009731/0.9157, allocations: 49.62 kB / 0.6128 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/0.9189, allocations: 141.1 kB / 0.6129 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.9193, allocations: 225.2 kB / 0.6131 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006915/0.9262, allocations: 3.627 MB / 0.6167 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006377/0.9326, allocations: 4.072 MB / 0.6206 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001504/0.9341, allocations: 1.027 MB / 0.6216 GB, free: 116.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002771/0.9369, allocations: 1.779 MB / 0.6234 GB, free: 115.6 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.9369, allocations: 0 / 0.6234 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01319/0.9501, allocations: 6.257 MB / 0.6295 GB, free: 113 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.01276/0.9629, allocations: 8.345 MB / 0.6376 GB, free: 108 MB / 462.1 MB Notification: Performance of Templates: time 0.09016/1.053, allocations: 58.44 MB / 0.6947 GB, free: 62.11 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)