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.004449/0.004449, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001173/0.001173, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07464/0.07464, allocations: 16.78 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 426.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08103, allocations: 53.57 MB / 480.2 MB, free: 5.066 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.2118/0.2929, allocations: 53.77 MB / 0.5214 GB, free: 8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.3066, allocations: 10.73 MB / 0.5319 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/0.3102, allocations: 86.12 kB / 0.532 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.3144, allocations: 1.542 MB / 0.5335 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.3258, allocations: 4.761 MB / 0.5381 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.33, allocations: 1.95 MB / 0.5401 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.3401, allocations: 8.913 MB / 0.5488 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.3424, allocations: 1.412 MB / 0.5501 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004413/0.3468, allocations: 3.02 MB / 0.5531 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.3517, allocations: 3.184 MB / 0.5562 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.3527, allocations: 399.8 kB / 0.5566 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/0.3565, allocations: 1.015 MB / 0.5576 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.3577, allocations: 0.9216 MB / 0.5585 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.3625, allocations: 2.838 MB / 0.5612 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.3707, allocations: 7.083 MB / 0.5682 GB, free: 9.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3708, allocations: 4 kB / 0.5682 GB, free: 9.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3708, allocations: 4 kB / 0.5682 GB, free: 9.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.3709, allocations: 0 / 0.5682 GB, free: 9.535 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.02323/0.3941, allocations: 7.169 MB / 0.5752 GB, free: 2.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3942, allocations: 12.03 kB / 0.5752 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.4007, allocations: 1.146 MB / 0.5763 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.4069, allocations: 3.039 MB / 0.5793 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.4072, allocations: 270.8 kB / 0.5795 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006381/0.4078, allocations: 348 kB / 0.5799 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006289/0.4141, allocations: 3.943 MB / 0.5837 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.689e-05/0.4142, allocations: 19.81 kB / 0.5837 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.4146, allocations: 148 kB / 0.5839 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-05/0.4146, allocations: 99.88 kB / 0.584 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.4197, allocations: 3.269 MB / 0.5872 GB, free: 5.531 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.03051/0.4502, allocations: 25.2 MB / 0.6118 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.4574, allocations: 5.004 MB / 0.6166 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.4592, allocations: 1.302 MB / 0.6179 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.4594, allocations: 47.45 kB / 0.618 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.4595, allocations: 77.88 kB / 0.618 GB, free: 4.156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=336): time 5.24e-06/0.4595, allocations: 4 kB / 0.618 GB, free: 4.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=336): time 0.0129/0.4724, allocations: 5.504 MB / 0.6234 GB, free: 14.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.4725, allocations: 167.8 kB / 0.6236 GB, free: 14.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005352/0.4779, allocations: 3.301 MB / 0.6268 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.4782, allocations: 93.7 kB / 0.6269 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.4796, allocations: 1.622 MB / 0.6285 GB, free: 9.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.481, allocations: 1.331 MB / 0.6298 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003427/0.4845, allocations: 1.684 MB / 0.6314 GB, free: 6.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.4846, allocations: 301.1 kB / 0.6317 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/0.4888, allocations: 2.533 MB / 0.6342 GB, free: 3.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/0.4937, allocations: 3.274 MB / 0.6374 GB, free: 92 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00704/0.5007, allocations: 4.787 MB / 0.642 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.5008, allocations: 0 / 0.642 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01375/0.5145, allocations: 8.087 MB / 0.6499 GB, free: 2.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5146, allocations: 8 kB / 0.65 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.5146, allocations: 8 kB / 0.65 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/0.5179, allocations: 0.725 MB / 0.6507 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007236/0.5252, allocations: 1.962 MB / 0.6526 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.5376, allocations: 10.22 MB / 0.6626 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/0.5444, allocations: 0.5693 MB / 0.6631 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.5455, allocations: 296 kB / 0.6634 GB, free: 4.508 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.002361/0.5479, allocations: 0.8789 MB / 0.6643 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.5491, allocations: 403.2 kB / 0.6646 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/0.5548, allocations: 3.286 MB / 0.6679 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.5548, allocations: 19.94 kB / 0.6679 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.5548, allocations: 0 / 0.6679 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/0.5567, allocations: 0.8823 MB / 0.6687 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000692/0.5574, allocations: 56 kB / 0.6688 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/0.5605, allocations: 143.7 kB / 0.6689 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.5608, allocations: 227 kB / 0.6691 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007363/0.5682, allocations: 3.611 MB / 0.6727 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005804/0.574, allocations: 4.073 MB / 0.6766 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001376/0.5754, allocations: 1.025 MB / 0.6776 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003247/0.5787, allocations: 2.013 MB / 0.6796 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of Backend: time 4.3e-07/0.5787, allocations: 7.938 kB / 0.6796 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01252/0.5912, allocations: 6.238 MB / 0.6857 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01043/0.6017, allocations: 6.712 MB / 0.6923 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.2495/0.8511, allocations: 58.72 MB / 0.7496 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)