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.004892/0.004892, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001343/0.001343, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07984/0.07984, allocations: 16.69 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.89 kB / 426.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09194, allocations: 53.54 MB / 480 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.2324/0.3244, allocations: 53.77 MB / 0.5213 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.3391, allocations: 10.74 MB / 0.5318 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.3428, allocations: 85.44 kB / 0.5319 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.3467, allocations: 1.532 MB / 0.5334 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.3583, allocations: 4.475 MB / 0.5377 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.3636, allocations: 1.948 MB / 0.5396 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01432/0.3779, allocations: 8.914 MB / 0.5483 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.3808, allocations: 1.414 MB / 0.5497 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005595/0.3865, allocations: 2.96 MB / 0.5526 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/0.3922, allocations: 3.185 MB / 0.5557 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.3935, allocations: 401.1 kB / 0.5561 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.3977, allocations: 1.02 MB / 0.5571 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.3992, allocations: 0.9216 MB / 0.558 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00597/0.4052, allocations: 2.838 MB / 0.5608 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.4168, allocations: 7.111 MB / 0.5677 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4168, allocations: 0 / 0.5677 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4168, allocations: 0 / 0.5677 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.417, allocations: 0 / 0.5677 GB, free: 10.02 MB / 414.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.02465/0.4416, allocations: 7.305 MB / 0.5748 GB, free: 2.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4417, allocations: 12.03 kB / 0.5749 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006561/0.4483, allocations: 1.168 MB / 0.576 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007226/0.4555, allocations: 3.069 MB / 0.579 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.4558, allocations: 266.8 kB / 0.5792 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005801/0.4564, allocations: 352 kB / 0.5796 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/0.463, allocations: 3.935 MB / 0.5834 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.509e-05/0.4632, allocations: 23.8 kB / 0.5834 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.4635, allocations: 152 kB / 0.5836 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.879e-05/0.4636, allocations: 91.94 kB / 0.5837 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005697/0.4693, allocations: 3.273 MB / 0.5869 GB, free: 5.836 MB / 430.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.03763/0.5069, allocations: 25.22 MB / 0.6115 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008321/0.5153, allocations: 5.004 MB / 0.6164 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.5176, allocations: 1.302 MB / 0.6177 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.5178, allocations: 47.59 kB / 0.6177 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.5179, allocations: 73.88 kB / 0.6178 GB, free: 4.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 5.681e-06/0.5179, allocations: 0 / 0.6178 GB, free: 4.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.0148/0.5327, allocations: 5.529 MB / 0.6232 GB, free: 14.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5329, allocations: 171.8 kB / 0.6233 GB, free: 14.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/0.5384, allocations: 3.306 MB / 0.6266 GB, free: 11.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004866/0.5389, allocations: 93.7 kB / 0.6267 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.5405, allocations: 1.674 MB / 0.6283 GB, free: 9.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/0.5421, allocations: 1.387 MB / 0.6297 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/0.5448, allocations: 1.688 MB / 0.6313 GB, free: 6.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5449, allocations: 305.1 kB / 0.6316 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/0.5492, allocations: 2.529 MB / 0.6341 GB, free: 3.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005205/0.5544, allocations: 3.277 MB / 0.6373 GB, free: 252 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/0.5621, allocations: 4.791 MB / 0.6419 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.5621, allocations: 4 kB / 0.6419 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01512/0.5773, allocations: 8.105 MB / 0.6499 GB, free: 3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.5773, allocations: 4 kB / 0.6499 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.5774, allocations: 8 kB / 0.6499 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.5808, allocations: 0.7207 MB / 0.6506 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00799/0.5888, allocations: 1.962 MB / 0.6525 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.6023, allocations: 10.24 MB / 0.6625 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.609, allocations: 0.5863 MB / 0.6631 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008001/0.6098, allocations: 292 kB / 0.6633 GB, free: 4.613 MB / 0.4981 GB 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.001948/0.6118, allocations: 0.8828 MB / 0.6642 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009499/0.6127, allocations: 421.4 kB / 0.6646 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006176/0.6189, allocations: 3.29 MB / 0.6678 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.619, allocations: 15.89 kB / 0.6678 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.619, allocations: 0 / 0.6678 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/0.6215, allocations: 0.9039 MB / 0.6687 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008829/0.6224, allocations: 52 kB / 0.6688 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/0.6257, allocations: 147.8 kB / 0.6689 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/0.6261, allocations: 223 kB / 0.6691 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00794/0.6341, allocations: 3.623 MB / 0.6727 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006412/0.6405, allocations: 4.095 MB / 0.6767 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001523/0.6421, allocations: 1.018 MB / 0.6777 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003279/0.6454, allocations: 2.021 MB / 0.6796 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of Backend: time 4.71e-07/0.6454, allocations: 0 / 0.6796 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01366/0.659, allocations: 6.249 MB / 0.6857 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01236/0.6714, allocations: 6.846 MB / 0.6924 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of Templates: time 0.2982/0.9697, allocations: 58.72 MB / 0.7498 GB, free: 177.7 MB / 0.545 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)