Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004394/0.004394, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.00108/0.001081, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.228/1.228, allocations: 222.9 MB / 240.4 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.07141/0.07141, allocations: 16.78 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 59.91 kB / 426.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09027, 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/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN.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 GEN.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 bus.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 bus.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.TestSimpleGenerator): time 0.009556/0.09986, allocations: 10.75 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.105, allocations: 3.76 MB / 494.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.1055, allocations: 23.88 kB / 494.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.1063, allocations: 314.2 kB / 495 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1084, allocations: 1.193 MB / 496.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.1089, allocations: 270.4 kB / 496.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.1099, allocations: 1.171 MB / 497.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.1102, allocations: 221.8 kB / 497.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1106, allocations: 422.3 kB / 498.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.111, allocations: 422.3 kB / 498.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.1111, allocations: 44 kB / 498.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.1115, allocations: 255.8 kB / 499 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.1116, allocations: 119.4 kB / 499.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1119, allocations: 378 kB / 499.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.1127, allocations: 0.965 MB / 0.4887 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1128, allocations: 0 / 0.4887 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1128, allocations: 0 / 0.4887 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1128, allocations: 4 kB / 0.4887 GB, free: 0.6016 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002529/0.1153, allocations: 1.164 MB / 0.4898 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1154, allocations: 8.031 kB / 0.4898 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.1157, allocations: 112.4 kB / 0.4899 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.1165, allocations: 0.548 MB / 0.4905 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1165, allocations: 37.38 kB / 0.4905 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.1166, allocations: 52.33 kB / 0.4906 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.1173, allocations: 0.522 MB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1173, allocations: 4 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1173, allocations: 20 kB / 0.4911 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1174, allocations: 12 kB / 0.4911 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.1179, allocations: 375.5 kB / 0.4915 GB, free: 13.6 MB / 382.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.003204/0.1211, allocations: 3.876 MB / 0.4953 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.1217, allocations: 0.6396 MB / 0.4959 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.122, allocations: 148.8 kB / 0.496 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.122, allocations: 4.938 kB / 0.496 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.122, allocations: 38.56 kB / 0.4961 GB, free: 8.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.122, allocations: 0 / 0.4961 GB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002129/0.1242, allocations: 0.8228 MB / 0.4969 GB, free: 7.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1242, allocations: 59.41 kB / 0.4969 GB, free: 7.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.1248, allocations: 0.538 MB / 0.4975 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.1248, allocations: 37.7 kB / 0.4975 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.125, allocations: 305 kB / 0.4978 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1251, allocations: 158.6 kB / 0.4979 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1253, allocations: 138.5 kB / 0.4981 GB, free: 6.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1254, allocations: 366.8 kB / 0.4984 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.1257, allocations: 161.9 kB / 0.4986 GB, free: 5.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.1261, allocations: 389 kB / 0.4989 GB, free: 5.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.1267, allocations: 0.5695 MB / 0.4995 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1267, allocations: 0 / 0.4995 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00147/0.1282, allocations: 0.7975 MB / 0.5003 GB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1282, allocations: 8 kB / 0.5003 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1282, allocations: 8 kB / 0.5003 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.1304, allocations: 390.5 kB / 0.5007 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.1308, allocations: 139.8 kB / 0.5008 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1745/0.3053, allocations: 5.182 MB / 0.5059 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.3061, allocations: 77.89 kB / 0.5059 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.3061, allocations: 38.34 kB / 0.506 GB, free: 33.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.3064, allocations: 199.5 kB / 0.5062 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3066, allocations: 61.81 kB / 0.5062 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3076, allocations: 0.507 MB / 0.5067 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3076, allocations: 5.031 kB / 0.5067 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3076, allocations: 0.5312 kB / 0.5067 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.3079, allocations: 184.9 kB / 0.5069 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.308, allocations: 6.641 kB / 0.5069 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3084, allocations: 17.84 kB / 0.5069 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.3085, allocations: 39.8 kB / 0.507 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001119/0.3096, allocations: 0.5315 MB / 0.5075 GB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007274/0.3103, allocations: 0.6781 MB / 0.5081 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001984/0.3105, allocations: 133 kB / 0.5083 GB, free: 32.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.3109, allocations: 367.3 kB / 0.5086 GB, free: 32.37 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.3109, allocations: 0 / 0.5086 GB, free: 32.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.3129, allocations: 1.02 MB / 0.5096 GB, free: 31.8 MB / 382.1 MB Notification: Performance of SimCode: time 0.001674/0.3146, allocations: 1.678 MB / 0.5112 GB, free: 30.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01713/0.3317, allocations: 9.892 MB / 0.5209 GB, free: 28.44 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)