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.001568/0.001568, allocations: 113.6 kB / 16.37 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.001766/0.001766, allocations: 191.2 kB / 17.3 MB, free: 5.613 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.079/0.079, allocations: 16.75 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.59 kB / 373.2 MB, free: 48.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08648, allocations: 53.57 MB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.0416/0.1281, allocations: 53.45 MB / 480.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.1449, allocations: 10.63 MB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.1488, allocations: 87.56 kB / 490.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004366/0.1533, allocations: 1.53 MB / 492.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.1651, allocations: 4.441 MB / 496.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.1697, allocations: 1.803 MB / 498.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.1818, allocations: 8.749 MB / 0.4955 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.1845, allocations: 1.363 MB / 0.4969 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.1891, allocations: 2.891 MB / 0.4997 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.1945, allocations: 3.089 MB / 0.5027 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.196, allocations: 376 kB / 0.5031 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.1993, allocations: 0.9997 MB / 0.504 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.2005, allocations: 0.8788 MB / 0.5049 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1719/0.3725, allocations: 2.758 MB / 0.5076 GB, free: 20.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.3791, allocations: 6.87 MB / 0.5143 GB, free: 19.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3792, allocations: 0 / 0.5143 GB, free: 19.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3792, allocations: 0 / 0.5143 GB, free: 19.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.3793, allocations: 0 / 0.5143 GB, free: 19.93 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: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.01961/0.3989, allocations: 6.457 MB / 0.5206 GB, free: 17.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.399, allocations: 9.5 kB / 0.5206 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/0.4054, allocations: 1.147 MB / 0.5217 GB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/0.411, allocations: 2.989 MB / 0.5247 GB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.4111, allocations: 257.6 kB / 0.5249 GB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.4115, allocations: 343.9 kB / 0.5252 GB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004451/0.416, allocations: 3.779 MB / 0.5289 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.4161, allocations: 20.75 kB / 0.5289 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.4163, allocations: 144.6 kB / 0.5291 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.4164, allocations: 90.59 kB / 0.5292 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003884/0.4203, allocations: 3.082 MB / 0.5322 GB, free: 15.72 MB / 382.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.02472/0.445, allocations: 24.79 MB / 0.5564 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007046/0.4521, allocations: 5.334 MB / 0.5616 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4538, allocations: 1.224 MB / 0.5628 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.454, allocations: 48.73 kB / 0.5628 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/0.454, allocations: 76.97 kB / 0.5629 GB, free: 7.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=320): time 5.67e-06/0.4541, allocations: 0 / 0.5629 GB, free: 7.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=320): time 0.009019/0.4631, allocations: 4.441 MB / 0.5672 GB, free: 5.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.4632, allocations: 162.6 kB / 0.5674 GB, free: 5.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.4685, allocations: 3.151 MB / 0.5705 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.4688, allocations: 89.7 kB / 0.5706 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.4701, allocations: 1.632 MB / 0.5722 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.4715, allocations: 1.258 MB / 0.5734 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002344/0.4738, allocations: 1.588 MB / 0.5749 GB, free: 13.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.4739, allocations: 301.1 kB / 0.5752 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.4776, allocations: 2.342 MB / 0.5775 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004091/0.4817, allocations: 3.056 MB / 0.5805 GB, free: 7.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.4879, allocations: 4.44 MB / 0.5848 GB, free: 3.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.4879, allocations: 4 kB / 0.5848 GB, free: 3.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.01257/0.5005, allocations: 7.468 MB / 0.5921 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.5006, allocations: 8.406 kB / 0.5921 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.5006, allocations: 4 kB / 0.5921 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.5034, allocations: 0.6233 MB / 0.5927 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007474/0.5109, allocations: 1.897 MB / 0.5946 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009688/0.5206, allocations: 8.622 MB / 0.603 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007314/0.5279, allocations: 0.5345 MB / 0.6035 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000744/0.5287, allocations: 276 kB / 0.6038 GB, free: 15.39 MB / 446.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 (1118): * Single equations (assignments): 1114 * 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%), (14,0,21.4%), (6,0,50.0%), (14,0,21.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.5306, allocations: 0.8589 MB / 0.6046 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009261/0.5315, allocations: 375.5 kB / 0.605 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.5363, allocations: 2.946 MB / 0.6079 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.5363, allocations: 19.22 kB / 0.6079 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5363, allocations: 0 / 0.6079 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/0.5384, allocations: 0.8318 MB / 0.6087 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005467/0.5389, allocations: 55.94 kB / 0.6088 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/0.5416, allocations: 140.5 kB / 0.6089 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.542, allocations: 211 kB / 0.6091 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006065/0.5481, allocations: 3.193 MB / 0.6122 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005525/0.5536, allocations: 3.745 MB / 0.6159 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001283/0.5549, allocations: 0.9239 MB / 0.6168 GB, free: 2.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003303/0.5582, allocations: 1.928 MB / 0.6187 GB, free: 264 kB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.5582, allocations: 4 kB / 0.6187 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.5702, allocations: 5.655 MB / 0.6242 GB, free: 10.71 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.01038/0.5806, allocations: 6.299 MB / 0.6303 GB, free: 4.43 MB / 462.1 MB Notification: Performance of Templates: time 0.09011/0.6707, allocations: 53.67 MB / 0.6827 GB, free: 15.07 MB / 0.5137 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 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)