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.005312/0.005312, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001211/0.001211, allocations: 199.2 kB / 16.68 MB, free: 5.953 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.187/1.187, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07126/0.07126, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 426.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.091, allocations: 53.57 MB / 480.2 MB, free: 4.941 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.2153/0.3063, allocations: 53.78 MB / 0.5214 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.3201, allocations: 10.73 MB / 0.5319 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.3237, allocations: 93.75 kB / 0.532 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3269, allocations: 1.538 MB / 0.5335 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009617/0.3366, allocations: 4.759 MB / 0.5381 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.3405, allocations: 1.945 MB / 0.54 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009991/0.3505, allocations: 8.912 MB / 0.5488 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.3526, allocations: 1.418 MB / 0.5501 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/0.3574, allocations: 3.023 MB / 0.5531 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.3623, allocations: 3.191 MB / 0.5562 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.3634, allocations: 397.4 kB / 0.5566 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.3678, allocations: 1.011 MB / 0.5576 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.3692, allocations: 0.9139 MB / 0.5585 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004705/0.3739, allocations: 2.842 MB / 0.5612 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007356/0.3812, allocations: 7.083 MB / 0.5682 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3813, allocations: 0 / 0.5682 GB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3813, allocations: 0 / 0.5682 GB, free: 9.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.969e-05/0.3813, allocations: 0 / 0.5682 GB, free: 9.434 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.02043/0.4018, allocations: 7.173 MB / 0.5752 GB, free: 2.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4018, allocations: 12.02 kB / 0.5752 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.4074, allocations: 1.158 MB / 0.5763 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.4122, allocations: 3.031 MB / 0.5793 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4123, allocations: 266.8 kB / 0.5795 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004002/0.4127, allocations: 352 kB / 0.5799 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/0.418, allocations: 3.935 MB / 0.5837 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.469e-05/0.4181, allocations: 27.8 kB / 0.5837 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.4184, allocations: 152 kB / 0.5839 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.4185, allocations: 91.94 kB / 0.584 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.4231, allocations: 3.269 MB / 0.5871 GB, free: 5.426 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.02967/0.4528, allocations: 25.19 MB / 0.6117 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.4598, allocations: 5.002 MB / 0.6166 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4615, allocations: 1.309 MB / 0.6179 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.4617, allocations: 43.59 kB / 0.618 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.4617, allocations: 82.14 kB / 0.618 GB, free: 4.051 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 6.292e-06/0.4617, allocations: 0 / 0.618 GB, free: 4.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.01241/0.4742, allocations: 5.511 MB / 0.6234 GB, free: 14.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.4743, allocations: 163.8 kB / 0.6236 GB, free: 14.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/0.479, allocations: 3.301 MB / 0.6268 GB, free: 10.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.4793, allocations: 93.7 kB / 0.6269 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.4805, allocations: 1.626 MB / 0.6285 GB, free: 9.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.4818, allocations: 1.331 MB / 0.6298 GB, free: 7.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/0.4846, allocations: 1.68 MB / 0.6314 GB, free: 6.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.4847, allocations: 301.1 kB / 0.6317 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.4884, allocations: 2.529 MB / 0.6342 GB, free: 3.344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004193/0.4926, allocations: 3.278 MB / 0.6374 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.4993, allocations: 4.787 MB / 0.642 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.4994, allocations: 0 / 0.642 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01356/0.5129, allocations: 8.087 MB / 0.6499 GB, free: 2.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.513, allocations: 8 kB / 0.6499 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.513, allocations: 8 kB / 0.65 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.5162, allocations: 0.7177 MB / 0.6507 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007134/0.5234, allocations: 1.966 MB / 0.6526 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.5351, allocations: 10.23 MB / 0.6626 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/0.5417, allocations: 0.5693 MB / 0.6631 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/0.5426, allocations: 288 kB / 0.6634 GB, free: 4.402 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.002033/0.5446, allocations: 0.8867 MB / 0.6643 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.5456, allocations: 399.2 kB / 0.6646 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005327/0.551, allocations: 3.278 MB / 0.6678 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.551, allocations: 19.94 kB / 0.6679 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.551, allocations: 4 kB / 0.6679 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.5528, allocations: 0.8823 MB / 0.6687 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/0.5534, allocations: 59.98 kB / 0.6688 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/0.5563, allocations: 143.7 kB / 0.6689 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.5566, allocations: 234.8 kB / 0.6691 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007057/0.5637, allocations: 3.6 MB / 0.6727 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005733/0.5694, allocations: 4.081 MB / 0.6766 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.5708, allocations: 1.022 MB / 0.6776 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003321/0.5741, allocations: 2.013 MB / 0.6796 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of Backend: time 5.1e-07/0.5741, allocations: 0 / 0.6796 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01249/0.5866, allocations: 6.256 MB / 0.6857 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01123/0.5979, allocations: 6.71 MB / 0.6923 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.2576/0.8555, allocations: 58.7 MB / 0.7496 GB, free: 175.7 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)