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.00129/0.00129, allocations: 105.6 kB / 16.41 MB, free: 6.488 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.00127/0.00127, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.319/1.319, 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.07317/0.07317, allocations: 16.79 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.88 kB / 427.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 53.56 MB / 480.8 MB, free: 4.969 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.3019/0.415, allocations: 53.79 MB / 0.5221 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.4332, allocations: 10.73 MB / 0.5326 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00685/0.4401, allocations: 94.5 kB / 0.5327 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006459/0.4466, allocations: 1.527 MB / 0.5341 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.4612, allocations: 4.468 MB / 0.5385 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.4669, allocations: 1.955 MB / 0.5404 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01563/0.4826, allocations: 8.906 MB / 0.5491 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/0.4864, allocations: 1.413 MB / 0.5505 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006869/0.4933, allocations: 3.025 MB / 0.5535 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006807/0.5001, allocations: 3.188 MB / 0.5566 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.502, allocations: 400.2 kB / 0.5569 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.5075, allocations: 1.016 MB / 0.5579 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.5093, allocations: 0.9217 MB / 0.5588 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006923/0.5162, allocations: 2.834 MB / 0.5616 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.5293, allocations: 7.083 MB / 0.5685 GB, free: 9.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.5293, allocations: 0 / 0.5685 GB, free: 9.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5293, allocations: 0 / 0.5685 GB, free: 9.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.5296, allocations: 0 / 0.5685 GB, free: 9.793 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.02789/0.5575, allocations: 7.169 MB / 0.5755 GB, free: 2.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5575, allocations: 11.97 kB / 0.5755 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.5654, allocations: 1.154 MB / 0.5767 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00792/0.5733, allocations: 3.035 MB / 0.5796 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5737, allocations: 266.8 kB / 0.5799 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009289/0.5746, allocations: 351.9 kB / 0.5802 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008358/0.583, allocations: 3.939 MB / 0.5841 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.5832, allocations: 23.81 kB / 0.5841 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006118/0.5838, allocations: 156 kB / 0.5842 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/0.5839, allocations: 91.94 kB / 0.5843 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005977/0.5899, allocations: 3.273 MB / 0.5875 GB, free: 5.777 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.03751/0.6274, allocations: 25.19 MB / 0.6121 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008742/0.6362, allocations: 4.999 MB / 0.617 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.6384, allocations: 1.309 MB / 0.6183 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.6387, allocations: 47.52 kB / 0.6183 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.594e-05/0.6388, allocations: 77.86 kB / 0.6184 GB, free: 4.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 5.751e-06/0.6388, allocations: 3.938 kB / 0.6184 GB, free: 4.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.015/0.6538, allocations: 5.511 MB / 0.6238 GB, free: 14.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.6539, allocations: 171.8 kB / 0.6239 GB, free: 14.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006601/0.6605, allocations: 3.301 MB / 0.6272 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006959/0.6613, allocations: 93.7 kB / 0.6273 GB, free: 11.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.6632, allocations: 1.622 MB / 0.6288 GB, free: 9.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002056/0.6653, allocations: 1.331 MB / 0.6301 GB, free: 8.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005321/0.6706, allocations: 1.68 MB / 0.6318 GB, free: 6.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6707, allocations: 305.1 kB / 0.6321 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00517/0.6759, allocations: 2.525 MB / 0.6345 GB, free: 3.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/0.6819, allocations: 3.274 MB / 0.6377 GB, free: 352 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009596/0.6915, allocations: 4.791 MB / 0.6424 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-05/0.6916, allocations: 0 / 0.6424 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01969/0.7113, allocations: 8.083 MB / 0.6503 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.7114, allocations: 8 kB / 0.6503 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.7115, allocations: 8 kB / 0.6503 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/0.715, allocations: 0.7207 MB / 0.651 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008529/0.7235, allocations: 1.966 MB / 0.6529 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.7379, allocations: 10.22 MB / 0.6629 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008393/0.7464, allocations: 0.5654 MB / 0.6635 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/0.7479, allocations: 292 kB / 0.6638 GB, free: 4.766 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.003478/0.7514, allocations: 0.8828 MB / 0.6646 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001809/0.7533, allocations: 403.2 kB / 0.665 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/0.76, allocations: 3.278 MB / 0.6682 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.7601, allocations: 19.94 kB / 0.6682 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.7601, allocations: 4 kB / 0.6682 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/0.763, allocations: 0.8862 MB / 0.6691 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/0.7642, allocations: 52 kB / 0.6691 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003979/0.7682, allocations: 151.6 kB / 0.6693 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.7687, allocations: 226.9 kB / 0.6695 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008216/0.7769, allocations: 3.615 MB / 0.673 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006778/0.7837, allocations: 4.081 MB / 0.677 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001486/0.7853, allocations: 1.018 MB / 0.678 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003931/0.7892, allocations: 2.013 MB / 0.68 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of Backend: time 6.51e-07/0.7892, allocations: 0 / 0.68 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01618/0.8054, allocations: 6.238 MB / 0.6861 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01675/0.8222, allocations: 8.174 MB / 0.6941 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of Templates: time 0.3378/1.16, allocations: 95.56 MB / 0.7874 GB, free: 135.4 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)