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.00385/0.00385, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001205/0.001205, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07228/0.07228, allocations: 16.77 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.91 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08581, allocations: 53.56 MB / 480.2 MB, free: 4.961 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter line1.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter line1.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus1.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus1.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus2.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus2.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter line2.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter line2.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus3.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus3.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus4.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus4.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.227/0.3128, allocations: 53.78 MB / 0.5214 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.3278, allocations: 10.74 MB / 0.5319 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/0.3322, allocations: 90 kB / 0.532 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.3365, allocations: 1.53 MB / 0.5335 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.348, allocations: 4.763 MB / 0.5381 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.3527, allocations: 1.952 MB / 0.5401 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.3643, allocations: 8.906 MB / 0.5487 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.3669, allocations: 1.412 MB / 0.5501 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.3718, allocations: 3.029 MB / 0.5531 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005135/0.377, allocations: 3.184 MB / 0.5562 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3781, allocations: 400.9 kB / 0.5566 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.3822, allocations: 1.018 MB / 0.5576 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.3835, allocations: 0.9139 MB / 0.5585 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005103/0.3886, allocations: 2.838 MB / 0.5612 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008962/0.3976, allocations: 7.107 MB / 0.5682 GB, free: 9.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3976, allocations: 4 kB / 0.5682 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3976, allocations: 0 / 0.5682 GB, free: 9.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.3977, allocations: 0 / 0.5682 GB, free: 9.477 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.02306/0.4208, allocations: 7.311 MB / 0.5753 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4209, allocations: 12.02 kB / 0.5753 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/0.427, allocations: 1.176 MB / 0.5765 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.4329, allocations: 3.058 MB / 0.5795 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.4331, allocations: 266.8 kB / 0.5797 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.4335, allocations: 348 kB / 0.5801 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005473/0.439, allocations: 3.943 MB / 0.5839 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/0.4391, allocations: 19.81 kB / 0.5839 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.4393, allocations: 152 kB / 0.5841 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/0.4394, allocations: 95.94 kB / 0.5842 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.4442, allocations: 3.269 MB / 0.5873 GB, free: 5.285 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.03225/0.4765, allocations: 25.23 MB / 0.612 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/0.4836, allocations: 5.012 MB / 0.6169 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.4853, allocations: 1.302 MB / 0.6182 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.4854, allocations: 47.44 kB / 0.6182 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/0.4855, allocations: 81.88 kB / 0.6183 GB, free: 3.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 4.849e-06/0.4855, allocations: 0 / 0.6183 GB, free: 3.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.01292/0.4984, allocations: 5.521 MB / 0.6237 GB, free: 14.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.4985, allocations: 171.9 kB / 0.6238 GB, free: 14.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/0.5031, allocations: 3.309 MB / 0.6271 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003289/0.5034, allocations: 93.7 kB / 0.6272 GB, free: 10.67 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.5046, allocations: 1.67 MB / 0.6288 GB, free: 8.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.5059, allocations: 1.388 MB / 0.6301 GB, free: 7.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/0.5081, allocations: 1.685 MB / 0.6318 GB, free: 5.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.5082, allocations: 309.1 kB / 0.6321 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/0.5119, allocations: 2.525 MB / 0.6345 GB, free: 3.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.5162, allocations: 3.274 MB / 0.6377 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/0.5227, allocations: 4.795 MB / 0.6424 GB, free: 10.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.5227, allocations: 0 / 0.6424 GB, free: 10.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01258/0.5353, allocations: 8.101 MB / 0.6503 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5354, allocations: 8 kB / 0.6503 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.5354, allocations: 8 kB / 0.6504 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/0.5387, allocations: 0.7244 MB / 0.6511 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008063/0.5468, allocations: 1.962 MB / 0.653 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.5588, allocations: 10.24 MB / 0.663 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006644/0.5655, allocations: 0.5902 MB / 0.6636 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007226/0.5662, allocations: 288 kB / 0.6638 GB, free: 4.055 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.001675/0.5679, allocations: 0.8825 MB / 0.6647 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008269/0.5687, allocations: 417.4 kB / 0.6651 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/0.5739, allocations: 3.282 MB / 0.6683 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.574, allocations: 19.94 kB / 0.6683 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.574, allocations: 0 / 0.6683 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.5759, allocations: 0.9039 MB / 0.6692 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005199/0.5764, allocations: 56 kB / 0.6692 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/0.5792, allocations: 143.8 kB / 0.6694 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.5795, allocations: 226.9 kB / 0.6696 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007181/0.5867, allocations: 3.619 MB / 0.6731 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005748/0.5924, allocations: 4.099 MB / 0.6771 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001331/0.5938, allocations: 1.018 MB / 0.6781 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003079/0.5969, allocations: 2.024 MB / 0.6801 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of Backend: time 7.22e-07/0.5969, allocations: 0 / 0.6801 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01191/0.6088, allocations: 6.256 MB / 0.6862 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01048/0.6193, allocations: 6.843 MB / 0.6929 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.263/0.8824, allocations: 58.71 MB / 0.7502 GB, free: 170.8 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)