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.004899/0.004899, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001189/0.001189, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1612/0.1612, allocations: 16.78 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.41 kB / 426.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.07474, allocations: 53.57 MB / 480.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.03836/0.1131, allocations: 53.77 MB / 0.5214 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.1289, allocations: 10.75 MB / 0.5319 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.1324, allocations: 83.62 kB / 0.532 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.1363, allocations: 1.533 MB / 0.5335 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.147, allocations: 4.466 MB / 0.5379 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.1513, allocations: 1.957 MB / 0.5398 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009845/0.1611, allocations: 8.91 MB / 0.5485 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.1633, allocations: 1.414 MB / 0.5498 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.1671, allocations: 2.954 MB / 0.5527 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004472/0.1716, allocations: 3.19 MB / 0.5558 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009637/0.1726, allocations: 400 kB / 0.5562 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.1755, allocations: 1.015 MB / 0.5572 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.1765, allocations: 0.9255 MB / 0.5581 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003242/0.1798, allocations: 2.83 MB / 0.5609 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007041/0.1868, allocations: 7.119 MB / 0.5678 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1868, allocations: 0 / 0.5678 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1868, allocations: 0 / 0.5678 GB, free: 7.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.182e-05/0.1869, allocations: 0 / 0.5678 GB, free: 7.242 MB / 446.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.02146/0.2084, allocations: 7.297 MB / 0.575 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2084, allocations: 8.031 kB / 0.575 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/0.2143, allocations: 1.18 MB / 0.5761 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.2195, allocations: 3.061 MB / 0.5791 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.2197, allocations: 270.8 kB / 0.5794 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.2201, allocations: 348 kB / 0.5797 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.2252, allocations: 3.946 MB / 0.5836 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.485e-05/0.2253, allocations: 19.81 kB / 0.5836 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.2256, allocations: 148 kB / 0.5837 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.2257, allocations: 99.92 kB / 0.5838 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.2303, allocations: 3.269 MB / 0.587 GB, free: 3.059 MB / 462.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.2089/0.4392, allocations: 25.22 MB / 0.6116 GB, free: 86.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/0.446, allocations: 4.988 MB / 0.6165 GB, free: 83.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4475, allocations: 1.302 MB / 0.6178 GB, free: 82.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.4477, allocations: 46.38 kB / 0.6178 GB, free: 82.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.4477, allocations: 85.34 kB / 0.6179 GB, free: 82.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 5.04e-06/0.4477, allocations: 1.688 kB / 0.6179 GB, free: 82.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.01163/0.4594, allocations: 5.529 MB / 0.6233 GB, free: 80.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4594, allocations: 167.4 kB / 0.6235 GB, free: 80.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.4628, allocations: 3.309 MB / 0.6267 GB, free: 78.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.463, allocations: 93.55 kB / 0.6268 GB, free: 78.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007509/0.4637, allocations: 1.67 MB / 0.6284 GB, free: 77.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008509/0.4646, allocations: 1.385 MB / 0.6298 GB, free: 76.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.4664, allocations: 1.685 MB / 0.6314 GB, free: 75.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.4664, allocations: 301.1 kB / 0.6317 GB, free: 74.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.4694, allocations: 2.532 MB / 0.6342 GB, free: 73.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.4729, allocations: 3.281 MB / 0.6374 GB, free: 71.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.478, allocations: 4.791 MB / 0.6421 GB, free: 67.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.478, allocations: 3.938 kB / 0.6421 GB, free: 67.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.009639/0.4877, allocations: 8.105 MB / 0.65 GB, free: 59.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4877, allocations: 8 kB / 0.65 GB, free: 59.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.4877, allocations: 9.453 kB / 0.65 GB, free: 59.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/0.4906, allocations: 0.7267 MB / 0.6507 GB, free: 58.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/0.4968, allocations: 1.954 MB / 0.6526 GB, free: 56.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009356/0.5061, allocations: 10.26 MB / 0.6626 GB, free: 45.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/0.5126, allocations: 0.5803 MB / 0.6632 GB, free: 45.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/0.513, allocations: 296 kB / 0.6635 GB, free: 45.13 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.001379/0.5144, allocations: 0.8789 MB / 0.6643 GB, free: 44.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.515, allocations: 417.4 kB / 0.6647 GB, free: 43.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.5194, allocations: 3.286 MB / 0.6679 GB, free: 40.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.5194, allocations: 19.94 kB / 0.668 GB, free: 40.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5194, allocations: 0 / 0.668 GB, free: 40.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.5206, allocations: 0.8989 MB / 0.6688 GB, free: 39.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/0.5211, allocations: 56 kB / 0.6689 GB, free: 39.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/0.5236, allocations: 150 kB / 0.669 GB, free: 39.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.5239, allocations: 226.9 kB / 0.6692 GB, free: 39.2 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005915/0.5298, allocations: 3.613 MB / 0.6728 GB, free: 35.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004191/0.534, allocations: 4.098 MB / 0.6768 GB, free: 31.48 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001039/0.5351, allocations: 1.022 MB / 0.6778 GB, free: 30.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002186/0.5373, allocations: 2.013 MB / 0.6797 GB, free: 28.46 MB / 462.1 MB Notification: Performance of Backend: time 3.71e-07/0.5373, allocations: 7.938 kB / 0.6797 GB, free: 28.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009236/0.5465, allocations: 6.247 MB / 0.6858 GB, free: 22.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.007739/0.5543, allocations: 6.859 MB / 0.6925 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Templates: time 0.08295/0.6372, allocations: 58.72 MB / 0.7499 GB, free: 4.809 MB / 0.4981 GB 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)