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.004962/0.004962, allocations: 97.42 kB / 15.73 MB, free: 6.039 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.001272/0.001272, allocations: 185.2 kB / 16.67 MB, free: 5.961 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1581/0.1581, allocations: 16.78 MB / 307.3 MB, free: 14.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.66 kB / 426.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08607, 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.00884/0.09495, allocations: 10.77 MB / 490.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.1005, allocations: 3.748 MB / 494.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.1014, allocations: 23.88 kB / 494.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009689/0.1024, allocations: 314.2 kB / 495 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.1048, allocations: 1.198 MB / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.1054, allocations: 280.8 kB / 496.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1067, allocations: 1.167 MB / 497.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.1071, allocations: 213.8 kB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.1075, allocations: 418.4 kB / 498.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.108, allocations: 426.2 kB / 498.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.1081, allocations: 48 kB / 498.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.1086, allocations: 247.8 kB / 499 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1087, allocations: 135.3 kB / 499.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.109, allocations: 370.1 kB / 499.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1101, allocations: 0.965 MB / 0.4887 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1101, allocations: 0 / 0.4887 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1101, allocations: 0 / 0.4887 GB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1101, allocations: 3.938 kB / 0.4887 GB, free: 8.465 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.002577/0.1127, allocations: 1.164 MB / 0.4898 GB, free: 7.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1127, allocations: 8.031 kB / 0.4898 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.1131, allocations: 108.4 kB / 0.4899 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.1139, allocations: 0.5519 MB / 0.4905 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.114, allocations: 37.38 kB / 0.4905 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.1141, allocations: 52.31 kB / 0.4906 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.1147, allocations: 0.5181 MB / 0.4911 GB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1148, allocations: 7.938 kB / 0.4911 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.1148, allocations: 20 kB / 0.4911 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1148, allocations: 8 kB / 0.4911 GB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.1154, allocations: 375.5 kB / 0.4915 GB, free: 5.465 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.003501/0.1189, allocations: 3.884 MB / 0.4953 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.1196, allocations: 0.6345 MB / 0.4959 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1199, allocations: 149.5 kB / 0.496 GB, free: 404 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1199, allocations: 8.141 kB / 0.496 GB, free: 396 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1199, allocations: 38.56 kB / 0.4961 GB, free: 348 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/0.1199, allocations: 0 / 0.4961 GB, free: 348 kB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.002159/0.1221, allocations: 0.8145 MB / 0.4969 GB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1222, allocations: 55.41 kB / 0.4969 GB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.1227, allocations: 0.5457 MB / 0.4975 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1228, allocations: 37.7 kB / 0.4975 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.123, allocations: 309 kB / 0.4978 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1231, allocations: 158.6 kB / 0.4979 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.1233, allocations: 142.5 kB / 0.4981 GB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1234, allocations: 366.8 kB / 0.4984 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.1237, allocations: 161.9 kB / 0.4986 GB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.1241, allocations: 389 kB / 0.4989 GB, free: 13.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.1248, allocations: 0.5656 MB / 0.4995 GB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1248, allocations: 0 / 0.4995 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001492/0.1263, allocations: 0.7975 MB / 0.5003 GB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1263, allocations: 8 kB / 0.5003 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1264, allocations: 11.98 kB / 0.5003 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.1284, allocations: 390.5 kB / 0.5007 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.1289, allocations: 135.8 kB / 0.5008 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/0.1339, allocations: 5.205 MB / 0.5059 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.1346, allocations: 75.5 kB / 0.506 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.1346, allocations: 36 kB / 0.506 GB, free: 5.449 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.0002405/0.1349, allocations: 201.6 kB / 0.5062 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.135, allocations: 63.61 kB / 0.5062 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009429/0.1359, allocations: 0.5041 MB / 0.5067 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1359, allocations: 3.984 kB / 0.5067 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.136, allocations: 0 / 0.5067 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.1362, allocations: 180.6 kB / 0.5069 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.1362, allocations: 8 kB / 0.5069 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.1366, allocations: 19.98 kB / 0.5069 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.1367, allocations: 35.94 kB / 0.507 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001078/0.1378, allocations: 0.5368 MB / 0.5075 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007872/0.1386, allocations: 0.6799 MB / 0.5082 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002085/0.1388, allocations: 136.6 kB / 0.5083 GB, free: 3.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003853/0.1392, allocations: 374.8 kB / 0.5086 GB, free: 2.66 MB / 382.1 MB Notification: Performance of Backend: time 5.71e-07/0.1392, allocations: 0 / 0.5086 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.1411, allocations: 1.007 MB / 0.5096 GB, free: 1.613 MB / 382.1 MB Notification: Performance of SimCode: time 0.001785/0.1429, allocations: 1.648 MB / 0.5112 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Templates: time 0.01565/0.1586, allocations: 9.899 MB / 0.5209 GB, free: 6.043 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)