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.001724/0.001723, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001965/0.001965, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07843/0.07843, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 62.84 kB / 372.4 MB, free: 48.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 53.58 MB / 426 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.04335/0.1521, allocations: 53.77 MB / 479.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.1726, allocations: 10.75 MB / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006459/0.1791, allocations: 83.62 kB / 490.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006135/0.1853, allocations: 1.526 MB / 492.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.1998, allocations: 4.471 MB / 496.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.2054, allocations: 1.954 MB / 498.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.2192, allocations: 8.874 MB / 0.4955 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.2224, allocations: 1.411 MB / 0.4969 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005636/0.228, allocations: 2.946 MB / 0.4998 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.2336, allocations: 3.187 MB / 0.5029 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.235, allocations: 400 kB / 0.5033 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.2389, allocations: 1.023 MB / 0.5043 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009502/0.2399, allocations: 0.9177 MB / 0.5052 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2768/0.5167, allocations: 2.836 MB / 0.5079 GB, free: 20.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.5282, allocations: 6.985 MB / 0.5148 GB, free: 20.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5283, allocations: 0 / 0.5148 GB, free: 20.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5283, allocations: 0 / 0.5148 GB, free: 20.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.5285, allocations: 0 / 0.5148 GB, free: 20.08 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.02813/0.5567, allocations: 7.174 MB / 0.5218 GB, free: 18.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.733e-05/0.5568, allocations: 9.375 kB / 0.5218 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/0.5647, allocations: 1.157 MB / 0.5229 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008265/0.573, allocations: 2.959 MB / 0.5258 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.5733, allocations: 268.5 kB / 0.5261 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008412/0.5741, allocations: 349.7 kB / 0.5264 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.5801, allocations: 3.943 MB / 0.5302 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/0.5802, allocations: 21.66 kB / 0.5303 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.5805, allocations: 154.2 kB / 0.5304 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/0.5806, allocations: 89.19 kB / 0.5305 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004833/0.5855, allocations: 3.27 MB / 0.5337 GB, free: 15.8 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.03295/0.6184, allocations: 25.32 MB / 0.5584 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/0.6262, allocations: 4.982 MB / 0.5633 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.6282, allocations: 1.304 MB / 0.5646 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.6283, allocations: 45.88 kB / 0.5646 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/0.6284, allocations: 84.98 kB / 0.5647 GB, free: 7.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=336): time 6.301e-06/0.6284, allocations: 0 / 0.5647 GB, free: 7.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=336): time 0.0149/0.6433, allocations: 5.508 MB / 0.5701 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6435, allocations: 163.8 kB / 0.5702 GB, free: 2.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/0.6498, allocations: 3.3 MB / 0.5734 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006476/0.6505, allocations: 97.7 kB / 0.5735 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.6519, allocations: 1.627 MB / 0.5751 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00198/0.6539, allocations: 1.324 MB / 0.5764 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.657, allocations: 1.676 MB / 0.5781 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.6571, allocations: 305.1 kB / 0.5783 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/0.6614, allocations: 2.529 MB / 0.5808 GB, free: 7.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/0.6667, allocations: 3.275 MB / 0.584 GB, free: 4.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/0.6747, allocations: 4.791 MB / 0.5887 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.6748, allocations: 0 / 0.5887 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01721/0.692, allocations: 8.089 MB / 0.5966 GB, free: 7.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.6921, allocations: 8 kB / 0.5966 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.6921, allocations: 4 kB / 0.5966 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.6955, allocations: 0.7274 MB / 0.5973 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00901/0.7045, allocations: 1.966 MB / 0.5992 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.7192, allocations: 10.26 MB / 0.6092 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009192/0.7284, allocations: 0.5713 MB / 0.6098 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.7296, allocations: 292 kB / 0.6101 GB, free: 9.207 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 (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.002615/0.7322, allocations: 0.8819 MB / 0.6109 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/0.7334, allocations: 399.3 kB / 0.6113 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/0.7399, allocations: 3.288 MB / 0.6145 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.74, allocations: 15.94 kB / 0.6146 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.74, allocations: 4 kB / 0.6146 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/0.7434, allocations: 0.8822 MB / 0.6154 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/0.7444, allocations: 57.12 kB / 0.6155 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/0.748, allocations: 139.8 kB / 0.6156 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/0.7484, allocations: 234.9 kB / 0.6158 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00844/0.7569, allocations: 3.625 MB / 0.6194 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007079/0.764, allocations: 4.08 MB / 0.6234 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001645/0.7657, allocations: 1.029 MB / 0.6244 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004798/0.7705, allocations: 2.013 MB / 0.6263 GB, free: 8.676 MB / 462.1 MB Notification: Performance of Backend: time 3.5e-07/0.7705, allocations: 0 / 0.6263 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01894/0.7894, allocations: 6.247 MB / 0.6324 GB, free: 2.535 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.01874/0.8082, allocations: 8.259 MB / 0.6405 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Templates: time 0.3273/1.136, allocations: 94.87 MB / 0.7331 GB, free: 189.8 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 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)