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.00519/0.00519, allocations: 101.1 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.001265/0.001265, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1623/0.1623, allocations: 16.77 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 65.11 kB / 426.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.0805, allocations: 53.56 MB / 480.2 MB, free: 10.55 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.007132/0.08767, allocations: 10.76 MB / 490.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.09196, allocations: 3.758 MB / 494.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.09233, allocations: 23.88 kB / 494.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.09309, allocations: 318.2 kB / 495 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.09515, allocations: 1.194 MB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.09573, allocations: 274.4 kB / 496.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.0968, allocations: 1.17 MB / 497.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.09712, allocations: 205.8 kB / 497.8 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.09752, allocations: 418.4 kB / 498.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.09798, allocations: 430.2 kB / 498.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.09806, allocations: 48 kB / 498.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.09852, allocations: 259.8 kB / 499 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.09862, allocations: 115.5 kB / 499.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.09892, allocations: 382 kB / 499.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008686/0.0998, allocations: 0.9539 MB / 0.4887 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09981, allocations: 0 / 0.4887 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09982, allocations: 0 / 0.4887 GB, free: 8.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.09983, allocations: 0 / 0.4887 GB, free: 8.418 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.002383/0.1022, allocations: 1.149 MB / 0.4898 GB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1023, allocations: 12.03 kB / 0.4898 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.1026, allocations: 96.06 kB / 0.4899 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.1034, allocations: 0.5437 MB / 0.4904 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1034, allocations: 33.38 kB / 0.4905 GB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.1035, allocations: 52.38 kB / 0.4905 GB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.1042, allocations: 0.5219 MB / 0.491 GB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1042, allocations: 11.92 kB / 0.491 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.1042, allocations: 16 kB / 0.4911 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1043, allocations: 12 kB / 0.4911 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.1048, allocations: 383.5 kB / 0.4914 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.003304/0.1081, allocations: 3.879 MB / 0.4952 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.1088, allocations: 0.6318 MB / 0.4958 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.109, allocations: 153.5 kB / 0.496 GB, free: 376 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.1091, allocations: 4.938 kB / 0.496 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1091, allocations: 42.5 kB / 0.496 GB, free: 320 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.1091, allocations: 0 / 0.496 GB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.00215/0.1113, allocations: 0.814 MB / 0.4968 GB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1113, allocations: 55.41 kB / 0.4969 GB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.1119, allocations: 0.5457 MB / 0.4974 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1119, allocations: 33.7 kB / 0.4975 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1121, allocations: 300.4 kB / 0.4977 GB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1122, allocations: 153.9 kB / 0.4979 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1124, allocations: 134.6 kB / 0.498 GB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1125, allocations: 366.8 kB / 0.4984 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.1128, allocations: 165.9 kB / 0.4985 GB, free: 13.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.1132, allocations: 381 kB / 0.4989 GB, free: 13.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.1139, allocations: 0.5694 MB / 0.4994 GB, free: 12.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1139, allocations: 4 kB / 0.4994 GB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001482/0.1154, allocations: 0.7937 MB / 0.5002 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1154, allocations: 12 kB / 0.5002 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1154, allocations: 4 kB / 0.5002 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.1175, allocations: 386.1 kB / 0.5006 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.1179, allocations: 135.8 kB / 0.5007 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.1228, allocations: 5.213 MB / 0.5058 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.1234, allocations: 79.36 kB / 0.5059 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.1234, allocations: 28 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.0002084/0.1236, allocations: 209.6 kB / 0.5061 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.1237, allocations: 59.25 kB / 0.5062 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000927/0.1247, allocations: 496.4 kB / 0.5067 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1247, allocations: 11.92 kB / 0.5067 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1247, allocations: 4 kB / 0.5067 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1249, allocations: 184.2 kB / 0.5068 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.125, allocations: 8 kB / 0.5069 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1253, allocations: 19.98 kB / 0.5069 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.1254, allocations: 35.94 kB / 0.5069 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.1265, allocations: 0.5363 MB / 0.5074 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007489/0.1272, allocations: 0.6718 MB / 0.5081 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001922/0.1274, allocations: 136.6 kB / 0.5082 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.1278, allocations: 366.8 kB / 0.5086 GB, free: 2.676 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1278, allocations: 0 / 0.5086 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.1296, allocations: 1.003 MB / 0.5095 GB, free: 1.633 MB / 382.1 MB Notification: Performance of SimCode: time 0.001689/0.1313, allocations: 1.633 MB / 0.5111 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01471/0.146, allocations: 9.903 MB / 0.5208 GB, free: 6.074 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)