Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.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.001806/0.001806, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001911/0.001911, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.789 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.92 MB / 329.3 MB, free: 2.504 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.IslandOperation.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") [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.002131/0.002131, allocations: 63.91 kB / 460.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1154, allocations: 57.73 MB / 0.506 GB, free: 7.973 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 GEN1.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 GEN1.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 GEN2.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 GEN2.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.IslandOperation.TwoGeneratorsLocalInitialization): time 0.318/0.4334, allocations: 81.16 MB / 0.5853 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04701/0.4804, allocations: 22.46 MB / 0.6072 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0181/0.4985, allocations: 333.3 kB / 0.6075 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.5109, allocations: 2.96 MB / 0.6104 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02943/0.5403, allocations: 8.781 MB / 0.619 GB, free: 6.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0145/0.5548, allocations: 5.351 MB / 0.6242 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03339/0.5882, allocations: 20.83 MB / 0.6445 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.6008, allocations: 6.028 MB / 0.6504 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/0.6153, allocations: 7.185 MB / 0.6574 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/0.6295, allocations: 6.591 MB / 0.6639 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00579/0.6353, allocations: 1.203 MB / 0.6651 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008975/0.6443, allocations: 2.117 MB / 0.6671 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004685/0.649, allocations: 2.556 MB / 0.6696 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01225/0.6612, allocations: 5.556 MB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02936/0.6906, allocations: 17.98 MB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6906, allocations: 4 kB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6906, allocations: 0 / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006981/0.6913, allocations: 0 / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2006 * Number of variables: 2006 Notification: Performance of Generate backend data structure: time 0.05965/0.751, allocations: 15.92 MB / 0.7082 GB, free: 11.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.751, allocations: 8.031 kB / 0.7082 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.7689, allocations: 2.718 MB / 0.7108 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0211/0.79, allocations: 7.515 MB / 0.7182 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008679/0.7908, allocations: 0.7472 MB / 0.7189 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.7937, allocations: 0.8477 MB / 0.7197 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/0.819, allocations: 11.06 MB / 0.7305 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002599/0.8193, allocations: 47.56 kB / 0.7306 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.8209, allocations: 348 kB / 0.7309 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.8212, allocations: 215.9 kB / 0.7311 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4719/1.293, allocations: 7.611 MB / 0.7385 GB, free: 173.3 MB / 0.5607 GB 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.08012/1.373, allocations: 49.2 MB / 0.7866 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/1.386, allocations: 6.64 MB / 0.7931 GB, free: 134.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005317/1.391, allocations: 2.752 MB / 0.7957 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/1.391, allocations: 109.2 kB / 0.7958 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/1.392, allocations: 125.7 kB / 0.796 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=725): time 1.15e-05/1.392, allocations: 0 / 0.796 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=725): time 0.05841/1.45, allocations: 16.85 MB / 0.8124 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/1.45, allocations: 364.4 kB / 0.8128 GB, free: 123 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/1.461, allocations: 8.089 MB / 0.8207 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001608/1.462, allocations: 193.7 kB / 0.8209 GB, free: 115 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003366/1.466, allocations: 4.501 MB / 0.8252 GB, free: 111 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004059/1.47, allocations: 2.943 MB / 0.8281 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008503/1.478, allocations: 3.635 MB / 0.8317 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/1.478, allocations: 305.1 kB / 0.832 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009666/1.488, allocations: 5.814 MB / 0.8376 GB, free: 98.68 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01413/1.502, allocations: 8.531 MB / 0.846 GB, free: 89.55 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02341/1.526, allocations: 11.32 MB / 0.857 GB, free: 77.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.912e-05/1.526, allocations: 8 kB / 0.857 GB, free: 77.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2597) (initialization): time 0.05415/1.58, allocations: 20.21 MB / 0.8768 GB, free: 57.52 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/1.58, allocations: 16 kB / 0.8768 GB, free: 57.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.543e-05/1.58, allocations: 28 kB / 0.8768 GB, free: 57.47 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02794/1.608, allocations: 5.288 MB / 0.882 GB, free: 52.12 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01515/1.623, allocations: 3.807 MB / 0.8857 GB, free: 48.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0626/1.686, allocations: 54.18 MB / 0.9386 GB, free: 7.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/1.704, allocations: 1.38 MB / 0.9399 GB, free: 6.406 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00342/1.708, allocations: 0.6444 MB / 0.9406 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02096/1.729, allocations: 7.032 MB / 0.9474 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01745/1.746, allocations: 8.296 MB / 0.9555 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3055/2.052, allocations: 10.99 MB / 0.9663 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001068/2.052, allocations: 7.562 kB / 0.9663 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2597) (initialization_lambda0): time 0.05192/2.104, allocations: 18.48 MB / 0.9843 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/2.104, allocations: 18.02 kB / 0.9844 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/2.104, allocations: 28.31 kB / 0.9844 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02505/2.129, allocations: 4.146 MB / 0.9884 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/2.146, allocations: 3.957 MB / 0.9923 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04155/2.187, allocations: 45.89 MB / 1.037 GB, free: 137.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/2.206, allocations: 1.098 MB / 1.038 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00283/2.209, allocations: 0.633 MB / 1.039 GB, free: 137.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 20 (NTLV2.componentPF.isSlackBus,GRIDL2.componentPF.isSlackBus,GRIDL1.componentPF.isSlackBus,NTHV2.componentPF.isSlackBus,GEN2.GEN.componentPF.isSlackBus,GEN2.isSlackBus,GEN1.GEN.componentPF.isSlackBus,GEN1.isSlackBus,NTHV1.componentPF.isSlackBus,NTLV1.componentPF.isSlackBus,GEN2.PSS.firstWashoutVsi2.integrator.local_reset,GEN2.PSS.secondWashoutVsi1.integrator.local_reset,GEN2.PSS.firstWashoutVsi1.integrator.local_reset,GEN2.AVR.firstOrderLim.I.local_reset,GEN2.TGOV.firstOrderLim.I.local_reset,GEN1.PSS.firstWashoutVsi2.integrator.local_reset,GEN1.PSS.secondWashoutVsi1.integrator.local_reset,GEN1.PSS.firstWashoutVsi1.integrator.local_reset,GEN1.AVR.firstOrderLim.I.local_reset,GEN1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2398): * Single equations (assignments): 2372 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 16 systems {(32,0), (10,0), (10,0), (19,0), (32,0), (32,0), (10,0), (40,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003194/2.212, allocations: 0.995 MB / 1.04 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002919/2.215, allocations: 0.9785 MB / 1.041 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/2.231, allocations: 7.84 MB / 1.048 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/2.231, allocations: 36.06 kB / 1.048 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/2.231, allocations: 0 / 1.048 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007148/2.238, allocations: 1.927 MB / 1.05 GB, free: 128.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00311/2.241, allocations: 132 kB / 1.05 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008451/2.25, allocations: 326.7 kB / 1.051 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/2.251, allocations: 0.5812 MB / 1.051 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01686/2.268, allocations: 7.709 MB / 1.059 GB, free: 121.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01544/2.283, allocations: 9.579 MB / 1.068 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004087/2.287, allocations: 2.479 MB / 1.071 GB, free: 110 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008661/2.296, allocations: 4.828 MB / 1.075 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of Backend: time 6.01e-07/2.296, allocations: 0 / 1.075 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0712/2.367, allocations: 29.07 MB / 1.104 GB, free: 75.59 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04203/2.409, allocations: 18.69 MB / 1.122 GB, free: 57.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.6015/3.011, allocations: 271.8 MB / 1.387 GB, free: 16.01 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe 2>&1) [Timeout 50] [Calling os._exit(0), Time elapsed: 19.49162685405463] Failed to read output from testmodel.py, exit status != 0: 3.020129470154643 3.030022056 2.336640069 Calling exit ...