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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 219 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.358/1.358, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08123/0.08123, allocations: 16.95 MB / 329.4 MB, free: 2.574 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 460.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09601, allocations: 57.74 MB / 0.5061 GB, free: 8.074 MB / 382.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.183/0.279, allocations: 10.82 MB / 0.5167 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.2831, allocations: 3.818 MB / 0.5204 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.2835, allocations: 30.56 kB / 0.5204 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.2842, allocations: 312.6 kB / 0.5207 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.2859, allocations: 1.188 MB / 0.5219 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.2864, allocations: 274 kB / 0.5222 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009776/0.2874, allocations: 1.168 MB / 0.5233 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.2877, allocations: 283.9 kB / 0.5236 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.2881, allocations: 435.2 kB / 0.524 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.2886, allocations: 430.1 kB / 0.5244 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.2887, allocations: 46.72 kB / 0.5244 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.2891, allocations: 263.1 kB / 0.5247 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.2892, allocations: 131.8 kB / 0.5248 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.2895, allocations: 374.1 kB / 0.5252 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009892/0.2905, allocations: 0.9724 MB / 0.5261 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2905, allocations: 0 / 0.5261 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2905, allocations: 0 / 0.5261 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2905, allocations: 1.094 kB / 0.5261 GB, free: 7.48 MB / 382.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.002468/0.293, allocations: 1.102 MB / 0.5272 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.293, allocations: 9.562 kB / 0.5272 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.2935, allocations: 109.9 kB / 0.5273 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.2943, allocations: 0.4911 MB / 0.5278 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2943, allocations: 37.05 kB / 0.5278 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.2944, allocations: 45 kB / 0.5279 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.295, allocations: 0.5225 MB / 0.5284 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.295, allocations: 5.344 kB / 0.5284 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2951, allocations: 20.91 kB / 0.5284 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2951, allocations: 11.28 kB / 0.5284 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.2956, allocations: 382.6 kB / 0.5288 GB, free: 5.883 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.002774/0.2984, allocations: 3.842 MB / 0.5325 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.2989, allocations: 311.8 kB / 0.5328 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.2991, allocations: 139.8 kB / 0.533 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.2992, allocations: 6.031 kB / 0.533 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2992, allocations: 40.69 kB / 0.533 GB, free: 2.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.2992, allocations: 0.6562 kB / 0.533 GB, free: 2.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002417/0.3016, allocations: 0.7382 MB / 0.5337 GB, free: 1.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.3016, allocations: 55.22 kB / 0.5338 GB, free: 1.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.3022, allocations: 0.5382 MB / 0.5343 GB, free: 1.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3022, allocations: 40.08 kB / 0.5344 GB, free: 1.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3024, allocations: 305.3 kB / 0.5346 GB, free: 1.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.3025, allocations: 167.7 kB / 0.5348 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3026, allocations: 141.1 kB / 0.5349 GB, free: 1.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.3027, allocations: 366.5 kB / 0.5353 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.3029, allocations: 160.6 kB / 0.5354 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.3033, allocations: 389.9 kB / 0.5358 GB, free: 416 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.3039, allocations: 0.5645 MB / 0.5364 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3039, allocations: 2.938 kB / 0.5364 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001596/0.3055, allocations: 0.7863 MB / 0.5371 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3055, allocations: 8.812 kB / 0.5371 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3055, allocations: 12.53 kB / 0.5372 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.3077, allocations: 383.6 kB / 0.5375 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.3081, allocations: 139.2 kB / 0.5377 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/0.3137, allocations: 4.899 MB / 0.5424 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.3143, allocations: 70.67 kB / 0.5425 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.3143, allocations: 31.19 kB / 0.5425 GB, free: 11.17 MB / 398.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.0002491/0.3146, allocations: 202.1 kB / 0.5427 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3147, allocations: 69.16 kB / 0.5428 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.3157, allocations: 0.4931 MB / 0.5433 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3157, allocations: 5.672 kB / 0.5433 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3157, allocations: 5.062 kB / 0.5433 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3159, allocations: 107.8 kB / 0.5434 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.316, allocations: 6.875 kB / 0.5434 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.3164, allocations: 15.91 kB / 0.5434 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.3165, allocations: 42.56 kB / 0.5435 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001156/0.3176, allocations: 0.5298 MB / 0.544 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000878/0.3185, allocations: 0.684 MB / 0.5446 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002127/0.3187, allocations: 125.3 kB / 0.5448 GB, free: 9.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.3192, allocations: 369.1 kB / 0.5451 GB, free: 9.727 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3192, allocations: 0 / 0.5451 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.3214, allocations: 0.996 MB / 0.5461 GB, free: 9.105 MB / 398.1 MB Notification: Performance of SimCode: time 0.001943/0.3233, allocations: 1.672 MB / 0.5477 GB, free: 7.953 MB / 398.1 MB Notification: Performance of Templates: time 0.01823/0.3416, allocations: 10.55 MB / 0.558 GB, free: 3.031 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile [Timeout 660] (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) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.681023630997515] Failed to read output from testmodel.py, exit status != 0: 0.3492710270002135 0.36298812999999996 0.069538872 Calling exit ...