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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1628/0.1628, allocations: 16.78 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 371.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2081, allocations: 53.54 MB / 425.3 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.02695/0.2351, allocations: 53.78 MB / 479.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2509, allocations: 10.75 MB / 489.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.2548, allocations: 86.88 kB / 489.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.2593, allocations: 1.535 MB / 491.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.2709, allocations: 4.464 MB / 495.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.2757, allocations: 1.953 MB / 497.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.2867, allocations: 8.87 MB / 0.4949 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.2894, allocations: 1.414 MB / 0.4963 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005003/0.2944, allocations: 2.946 MB / 0.4992 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005537/0.3, allocations: 3.193 MB / 0.5023 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.3013, allocations: 400.8 kB / 0.5027 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.3054, allocations: 1.014 MB / 0.5036 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3067, allocations: 0.9255 MB / 0.5045 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004936/0.3116, allocations: 2.834 MB / 0.5073 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.3189, allocations: 6.983 MB / 0.5141 GB, free: 164 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3189, allocations: 0 / 0.5141 GB, free: 164 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3189, allocations: 0 / 0.5141 GB, free: 164 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.335e-05/0.319, allocations: 0 / 0.5141 GB, free: 164 kB / 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.02263/0.3416, allocations: 7.18 MB / 0.5211 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3417, allocations: 11.97 kB / 0.5212 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005819/0.3475, allocations: 1.158 MB / 0.5223 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.3529, allocations: 2.953 MB / 0.5252 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.3531, allocations: 266.8 kB / 0.5254 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/0.3535, allocations: 356 kB / 0.5258 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005153/0.3587, allocations: 3.943 MB / 0.5296 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.3588, allocations: 23.81 kB / 0.5296 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.359, allocations: 148 kB / 0.5298 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-05/0.3591, allocations: 95.94 kB / 0.5299 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.3638, allocations: 3.269 MB / 0.5331 GB, free: 12.21 MB / 414.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.03002/0.3938, allocations: 25.32 MB / 0.5578 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.4008, allocations: 4.981 MB / 0.5627 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4025, allocations: 1.307 MB / 0.5639 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.4026, allocations: 47.3 kB / 0.564 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.4027, allocations: 69.88 kB / 0.564 GB, free: 10.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=336): time 5.3e-06/0.4027, allocations: 4 kB / 0.564 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.01288/0.4156, allocations: 5.515 MB / 0.5694 GB, free: 5.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4157, allocations: 167.8 kB / 0.5696 GB, free: 4.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.4202, allocations: 3.297 MB / 0.5728 GB, free: 1.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000298/0.4205, allocations: 93.7 kB / 0.5729 GB, free: 1.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.4217, allocations: 1.626 MB / 0.5745 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.4229, allocations: 1.331 MB / 0.5758 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/0.4251, allocations: 1.688 MB / 0.5774 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.4252, allocations: 301.1 kB / 0.5777 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.4288, allocations: 2.525 MB / 0.5802 GB, free: 10.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/0.433, allocations: 3.274 MB / 0.5834 GB, free: 6.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006155/0.4392, allocations: 4.791 MB / 0.5881 GB, free: 1.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.4392, allocations: 8 kB / 0.5881 GB, free: 1.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.1602/0.5995, allocations: 8.081 MB / 0.596 GB, free: 129.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.5995, allocations: 9.719 kB / 0.596 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.5996, allocations: 7.25 kB / 0.596 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.6023, allocations: 0.7237 MB / 0.5967 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00609/0.6084, allocations: 1.967 MB / 0.5986 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009181/0.6176, allocations: 10.24 MB / 0.6086 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/0.6228, allocations: 0.5717 MB / 0.6092 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/0.6232, allocations: 292.5 kB / 0.6094 GB, free: 121.5 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.001252/0.6245, allocations: 0.8808 MB / 0.6103 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.625, allocations: 397.8 kB / 0.6107 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.6294, allocations: 3.29 MB / 0.6139 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.6294, allocations: 16.5 kB / 0.6139 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6294, allocations: 4 kB / 0.6139 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6305, allocations: 0.877 MB / 0.6148 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.631, allocations: 55.97 kB / 0.6148 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.6335, allocations: 147.8 kB / 0.615 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.6338, allocations: 229.6 kB / 0.6152 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006187/0.64, allocations: 3.626 MB / 0.6187 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004587/0.6446, allocations: 4.085 MB / 0.6227 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001176/0.6457, allocations: 1.018 MB / 0.6237 GB, free: 115 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.6481, allocations: 2.014 MB / 0.6257 GB, free: 114.2 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.6481, allocations: 0.8438 kB / 0.6257 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009776/0.6579, allocations: 6.256 MB / 0.6318 GB, free: 111.6 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.00821/0.6661, allocations: 6.802 MB / 0.6384 GB, free: 108.1 MB / 462.1 MB Notification: Performance of Templates: time 0.07176/0.7379, allocations: 62.24 MB / 0.6992 GB, free: 57.38 MB / 462.1 MB 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)