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.001278/0.001278, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001336/0.001336, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07746/0.07746, allocations: 16.77 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 427.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08909, allocations: 53.56 MB / 480.8 MB, free: 4.973 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.2297/0.3189, allocations: 53.79 MB / 0.5221 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3349, allocations: 10.73 MB / 0.5326 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/0.3397, allocations: 90.75 kB / 0.5327 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.3437, allocations: 1.537 MB / 0.5342 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.355, allocations: 4.759 MB / 0.5388 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.3595, allocations: 1.949 MB / 0.5407 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.3701, allocations: 8.908 MB / 0.5494 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.3722, allocations: 1.423 MB / 0.5508 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.3763, allocations: 3.021 MB / 0.5537 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.3811, allocations: 3.19 MB / 0.5569 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009675/0.382, allocations: 399.9 kB / 0.5572 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.3856, allocations: 1.013 MB / 0.5582 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.3866, allocations: 0.9178 MB / 0.5591 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004244/0.3909, allocations: 2.834 MB / 0.5619 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.3988, allocations: 7.083 MB / 0.5688 GB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3988, allocations: 0 / 0.5688 GB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3988, allocations: 0 / 0.5688 GB, free: 9.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.606e-05/0.3989, allocations: 0 / 0.5688 GB, free: 9.504 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.02334/0.4222, allocations: 7.177 MB / 0.5758 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4223, allocations: 8.031 kB / 0.5758 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/0.4284, allocations: 1.158 MB / 0.577 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005095/0.4335, allocations: 3.031 MB / 0.5799 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.4336, allocations: 266.8 kB / 0.5802 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/0.434, allocations: 348 kB / 0.5805 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00518/0.4392, allocations: 3.939 MB / 0.5844 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.4393, allocations: 23.81 kB / 0.5844 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/0.4396, allocations: 156 kB / 0.5845 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/0.4396, allocations: 91.94 kB / 0.5846 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/0.4444, allocations: 3.269 MB / 0.5878 GB, free: 5.492 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.02885/0.4733, allocations: 25.19 MB / 0.6124 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/0.4805, allocations: 5.004 MB / 0.6173 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.4823, allocations: 1.308 MB / 0.6186 GB, free: 4.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.4824, allocations: 47.52 kB / 0.6186 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.4825, allocations: 73.88 kB / 0.6187 GB, free: 4.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 5.53e-06/0.4825, allocations: 224 / 0.6187 GB, free: 4.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.01345/0.496, allocations: 5.511 MB / 0.6241 GB, free: 14.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.4961, allocations: 167.8 kB / 0.6242 GB, free: 14.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.5005, allocations: 3.305 MB / 0.6275 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.5008, allocations: 93.7 kB / 0.6275 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.502, allocations: 1.622 MB / 0.6291 GB, free: 9.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.5033, allocations: 1.331 MB / 0.6304 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/0.5055, allocations: 1.684 MB / 0.6321 GB, free: 6.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.5056, allocations: 305.1 kB / 0.6324 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/0.5094, allocations: 2.522 MB / 0.6348 GB, free: 3.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/0.5138, allocations: 3.274 MB / 0.638 GB, free: 60 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/0.5204, allocations: 4.791 MB / 0.6427 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.5205, allocations: 0 / 0.6427 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01266/0.5331, allocations: 8.083 MB / 0.6506 GB, free: 2.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5332, allocations: 8 kB / 0.6506 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.5332, allocations: 8 kB / 0.6506 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.5364, allocations: 0.7203 MB / 0.6513 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/0.5439, allocations: 1.966 MB / 0.6532 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.5563, allocations: 10.23 MB / 0.6632 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/0.563, allocations: 0.5693 MB / 0.6638 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007053/0.5637, allocations: 288 kB / 0.6641 GB, free: 4.473 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.001846/0.5656, allocations: 0.8828 MB / 0.6649 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008838/0.5665, allocations: 403.2 kB / 0.6653 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.5719, allocations: 3.274 MB / 0.6685 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.572, allocations: 19.94 kB / 0.6685 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.572, allocations: 7.984 kB / 0.6685 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.5736, allocations: 0.8823 MB / 0.6694 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/0.5741, allocations: 55.98 kB / 0.6694 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/0.5769, allocations: 147.7 kB / 0.6696 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.5772, allocations: 223 kB / 0.6698 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007359/0.5846, allocations: 3.616 MB / 0.6733 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005592/0.5902, allocations: 4.077 MB / 0.6773 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/0.5915, allocations: 1.018 MB / 0.6783 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003137/0.5947, allocations: 2.017 MB / 0.6803 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of Backend: time 3.51e-07/0.5947, allocations: 0 / 0.6803 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01223/0.6069, allocations: 6.245 MB / 0.6864 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01071/0.6177, allocations: 6.712 MB / 0.6929 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of Templates: time 0.27/0.8877, allocations: 58.72 MB / 0.7503 GB, free: 175.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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)