Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, 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.001508/0.001508, allocations: 192.8 kB / 16.14 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1868/0.1868, allocations: 16.69 MB / 306.6 MB, free: 15.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 371 MB, free: 4.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 53.53 MB / 424.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02146/0.2896, allocations: 36.11 MB / 460.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.3013, allocations: 8.411 MB / 469.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.3047, allocations: 76.41 kB / 469.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.3076, allocations: 0.9949 MB / 470.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.315, allocations: 3.194 MB / 473.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.3178, allocations: 1.573 MB / 474.9 MB, free: 4.191 MB / 350.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 ‘GEN.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 ‘GEN.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 ‘GRIDL.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 ‘GRIDL.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 ‘line.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 ‘line.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 ‘line.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 ‘line.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 ‘bus.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 ‘bus.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 ‘infiniteBus.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 ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.006348/0.3241, allocations: 5.781 MB / 480.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.3258, allocations: 1.022 MB / 481.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.3286, allocations: 1.782 MB / 483.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.3314, allocations: 2.036 MB / 485.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.3318, allocations: 141.6 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3338, allocations: 0.5887 MB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.3344, allocations: 0.5248 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.3369, allocations: 1.833 MB / 488.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.3445, allocations: 5.026 MB / 493.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3445, allocations: 0 / 493.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3445, allocations: 3.938 kB / 493.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.798e-05/0.3446, allocations: 1.219 kB / 493.6 MB, free: 11.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.0257/0.3703, allocations: 5.934 MB / 499.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3704, allocations: 11.14 kB / 499.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005782/0.3762, allocations: 0.8628 MB / 0.4887 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009459/0.3857, allocations: 2.094 MB / 0.4908 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.386, allocations: 212.4 kB / 0.491 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009941/0.387, allocations: 273 kB / 0.4912 GB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007664/0.3947, allocations: 2.89 MB / 0.494 GB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-05/0.3948, allocations: 19.81 kB / 0.4941 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004879/0.3953, allocations: 112 kB / 0.4942 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-05/0.3954, allocations: 64 kB / 0.4942 GB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.4003, allocations: 2.292 MB / 0.4965 GB, free: 1.398 MB / 366.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.03016/0.4305, allocations: 19.2 MB / 0.5152 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/0.436, allocations: 2.956 MB / 0.5181 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4378, allocations: 0.8556 MB / 0.5189 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.438, allocations: 34.06 kB / 0.519 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.218e-05/0.4381, allocations: 64.56 kB / 0.519 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 5.34e-06/0.4381, allocations: 0 / 0.519 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01381/0.4519, allocations: 4.185 MB / 0.5231 GB, free: 4.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.452, allocations: 107.1 kB / 0.5232 GB, free: 4.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/0.4568, allocations: 2.35 MB / 0.5255 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005178/0.4573, allocations: 81.7 kB / 0.5256 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.4591, allocations: 1.3 MB / 0.5269 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/0.4607, allocations: 0.9064 MB / 0.5278 GB, free: 12 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00351/0.4642, allocations: 1.265 MB / 0.529 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4644, allocations: 305.1 kB / 0.5293 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.4686, allocations: 1.837 MB / 0.5311 GB, free: 12.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004695/0.4733, allocations: 2.452 MB / 0.5335 GB, free: 10.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007109/0.4804, allocations: 3.761 MB / 0.5371 GB, free: 6.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.4805, allocations: 0 / 0.5371 GB, free: 6.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01291/0.4934, allocations: 6.18 MB / 0.5432 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.4935, allocations: 8.781 kB / 0.5432 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.4935, allocations: 4 kB / 0.5432 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006538/0.5001, allocations: 1.091 MB / 0.5443 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006401/0.5065, allocations: 1.369 MB / 0.5456 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.5244, allocations: 9.994 MB / 0.5554 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006331/0.5307, allocations: 463.5 kB / 0.5558 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/0.532, allocations: 224 kB / 0.556 GB, free: 2.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 858 * 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): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002854/0.5349, allocations: 0.6973 MB / 0.5567 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/0.5361, allocations: 296.3 kB / 0.557 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/0.5416, allocations: 2.361 MB / 0.5593 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.5416, allocations: 11.95 kB / 0.5593 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5416, allocations: 0 / 0.5593 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/0.5439, allocations: 0.6219 MB / 0.5599 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008892/0.5448, allocations: 40 kB / 0.5599 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/0.5474, allocations: 83.89 kB / 0.56 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/0.5477, allocations: 169.7 kB / 0.5602 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006081/0.5538, allocations: 2.421 MB / 0.5625 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005274/0.5591, allocations: 2.814 MB / 0.5653 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001228/0.5604, allocations: 0.7027 MB / 0.566 GB, free: 7.973 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00251/0.5629, allocations: 1.409 MB / 0.5673 GB, free: 6.559 MB / 446.1 MB Notification: Performance of Backend: time 6.01e-07/0.5629, allocations: 0 / 0.5673 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01204/0.575, allocations: 4.955 MB / 0.5722 GB, free: 1.559 MB / 446.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.01095/0.5859, allocations: 6.583 MB / 0.5786 GB, free: 10.95 MB / 462.1 MB Notification: Performance of Templates: time 0.264/0.85, allocations: 45.3 MB / 0.6229 GB, free: 127.8 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)