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.004113/0.004113, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001026/0.001026, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1639/0.1639, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.55 kB / 426.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07294/0.07419, allocations: 53.57 MB / 480.2 MB, free: 10.39 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.007765/0.08198, allocations: 10.76 MB / 490.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.08669, allocations: 3.749 MB / 494.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.08717, allocations: 23.88 kB / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.08798, allocations: 322.2 kB / 495 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.0901, allocations: 1.195 MB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.09068, allocations: 273.8 kB / 496.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.09175, allocations: 1.174 MB / 497.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.09209, allocations: 213.8 kB / 497.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.09249, allocations: 410.4 kB / 498.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.09294, allocations: 434.2 kB / 498.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.09302, allocations: 44 kB / 498.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.09344, allocations: 255.8 kB / 499 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.09356, allocations: 127.3 kB / 499.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.09387, allocations: 378.1 kB / 499.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.09478, allocations: 0.9578 MB / 0.4887 GB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09479, allocations: 0 / 0.4887 GB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0948, allocations: 0 / 0.4887 GB, free: 8.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.09482, allocations: 4 kB / 0.4887 GB, free: 8.41 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.002472/0.0973, allocations: 1.141 MB / 0.4898 GB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.09734, allocations: 12.03 kB / 0.4898 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.09768, allocations: 96.06 kB / 0.4899 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.0985, allocations: 0.5476 MB / 0.4905 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.09854, allocations: 37.38 kB / 0.4905 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.09862, allocations: 56.22 kB / 0.4906 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.09929, allocations: 0.5181 MB / 0.4911 GB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.09933, allocations: 7.938 kB / 0.4911 GB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.09937, allocations: 16 kB / 0.4911 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.09938, allocations: 12 kB / 0.4911 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.09995, allocations: 379.5 kB / 0.4915 GB, free: 5.438 MB / 366.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.00335/0.1033, allocations: 3.883 MB / 0.4952 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.104, allocations: 0.6337 MB / 0.4959 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1042, allocations: 153.5 kB / 0.496 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.1042, allocations: 4 kB / 0.496 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1043, allocations: 38.56 kB / 0.4961 GB, free: 320 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.1043, allocations: 0 / 0.4961 GB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.002132/0.1064, allocations: 0.8149 MB / 0.4968 GB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1065, allocations: 59.41 kB / 0.4969 GB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.107, allocations: 0.5379 MB / 0.4974 GB, free: 14.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.1071, allocations: 37.7 kB / 0.4975 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1073, allocations: 304.4 kB / 0.4978 GB, free: 14.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1074, allocations: 149.9 kB / 0.4979 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1076, allocations: 134.6 kB / 0.498 GB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1077, allocations: 370.8 kB / 0.4984 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.108, allocations: 161.9 kB / 0.4985 GB, free: 13.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.1084, allocations: 389 kB / 0.4989 GB, free: 13.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.1091, allocations: 0.5618 MB / 0.4995 GB, free: 12.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1091, allocations: 0 / 0.4995 GB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001483/0.1106, allocations: 0.7931 MB / 0.5002 GB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1106, allocations: 8 kB / 0.5002 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1106, allocations: 12 kB / 0.5003 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.1127, allocations: 398.6 kB / 0.5006 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.1132, allocations: 131.8 kB / 0.5008 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/0.1181, allocations: 5.2 MB / 0.5058 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.1187, allocations: 79.36 kB / 0.5059 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.1187, allocations: 32 kB / 0.5059 GB, free: 5.445 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.0002116/0.1189, allocations: 201.6 kB / 0.5061 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.119, allocations: 59.25 kB / 0.5062 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009237/0.12, allocations: 0.5003 MB / 0.5067 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.12, allocations: 3.984 kB / 0.5067 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.12, allocations: 0 / 0.5067 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.1202, allocations: 180.2 kB / 0.5069 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.1203, allocations: 8 kB / 0.5069 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1206, allocations: 19.98 kB / 0.5069 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.1207, allocations: 31.94 kB / 0.5069 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001067/0.1218, allocations: 0.525 MB / 0.5074 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007917/0.1226, allocations: 0.6794 MB / 0.5081 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001966/0.1228, allocations: 144.6 kB / 0.5082 GB, free: 3.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.1232, allocations: 362.9 kB / 0.5086 GB, free: 2.684 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.1232, allocations: 0 / 0.5086 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.125, allocations: 1.014 MB / 0.5096 GB, free: 1.633 MB / 382.1 MB Notification: Performance of SimCode: time 0.001716/0.1268, allocations: 1.631 MB / 0.5112 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01521/0.142, allocations: 9.895 MB / 0.5208 GB, free: 6.082 MB / 398.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)