Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.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.IslandOperation.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004611/0.004611, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.001176/0.001177, allocations: 204.2 kB / 16.68 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1598/0.1598, allocations: 16.79 MB / 307.3 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 60.72 kB / 426.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07973, allocations: 53.57 MB / 480.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.06994/0.1497, allocations: 95.09 MB / 0.5618 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03871/0.1885, allocations: 23.56 MB / 0.5848 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01092/0.1994, allocations: 246.6 kB / 0.585 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009687/0.2092, allocations: 3.056 MB / 0.588 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2419/0.4511, allocations: 8.254 MB / 0.596 GB, free: 19.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.4619, allocations: 5.339 MB / 0.6013 GB, free: 19.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02409/0.486, allocations: 20.9 MB / 0.6217 GB, free: 19.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008202/0.4942, allocations: 5.173 MB / 0.6267 GB, free: 17.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009857/0.5041, allocations: 6.929 MB / 0.6335 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009502/0.5136, allocations: 7.285 MB / 0.6406 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003216/0.5168, allocations: 1.192 MB / 0.6418 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007106/0.524, allocations: 2.13 MB / 0.6439 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003801/0.5278, allocations: 2.534 MB / 0.6463 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.5387, allocations: 6.859 MB / 0.653 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.5584, allocations: 17.84 MB / 0.6704 GB, free: 1.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5584, allocations: 7.984 kB / 0.6705 GB, free: 1.699 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5584, allocations: 0 / 0.6705 GB, free: 1.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004389/0.5589, allocations: 0 / 0.6705 GB, free: 1.699 MB / 478.1 MB 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.04874/0.6076, allocations: 15.95 MB / 0.686 GB, free: 1.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6077, allocations: 8.031 kB / 0.686 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.62, allocations: 2.572 MB / 0.6886 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.6343, allocations: 7.674 MB / 0.696 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.6348, allocations: 0.629 MB / 0.6967 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.6359, allocations: 0.8403 MB / 0.6975 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.6496, allocations: 9.478 MB / 0.7067 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.6497, allocations: 44.88 kB / 0.7068 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006734/0.6504, allocations: 356 kB / 0.7071 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.6506, allocations: 208 kB / 0.7073 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.663, allocations: 7.679 MB / 0.7148 GB, free: 3.836 MB / 0.5137 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.07292/0.7359, allocations: 58.88 MB / 0.7723 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.7496, allocations: 9.678 MB / 0.7818 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004663/0.7543, allocations: 3.031 MB / 0.7847 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.7546, allocations: 101.4 kB / 0.7848 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.7548, allocations: 128.3 kB / 0.7849 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=717): time 8.416e-06/0.7548, allocations: 3.938 kB / 0.7849 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=717): time 0.04943/0.8042, allocations: 16.02 MB / 0.8006 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.8044, allocations: 364.4 kB / 0.8009 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/0.8166, allocations: 8.393 MB / 0.8091 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/0.8178, allocations: 189.7 kB / 0.8093 GB, free: 356 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.3977/1.216, allocations: 4.45 MB / 0.8137 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003872/1.219, allocations: 2.927 MB / 0.8165 GB, free: 232.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006464/1.226, allocations: 3.744 MB / 0.8202 GB, free: 232 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.024e-05/1.226, allocations: 302.6 kB / 0.8205 GB, free: 231.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01102/1.237, allocations: 5.874 MB / 0.8262 GB, free: 229.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/1.248, allocations: 8.021 MB / 0.834 GB, free: 225.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.264, allocations: 11.38 MB / 0.8451 GB, free: 219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/1.264, allocations: 7.938 kB / 0.8452 GB, free: 219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.03684/1.301, allocations: 20.41 MB / 0.8651 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/1.301, allocations: 19.7 kB / 0.8651 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-05/1.301, allocations: 28 kB / 0.8651 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02413/1.325, allocations: 5.005 MB / 0.87 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/1.339, allocations: 3.941 MB / 0.8739 GB, free: 203.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05191/1.391, allocations: 54.98 MB / 0.9276 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/1.406, allocations: 1.458 MB / 0.929 GB, free: 143.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.408, allocations: 0.6444 MB / 0.9296 GB, free: 143 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01192/1.42, allocations: 7.109 MB / 0.9366 GB, free: 135.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008926/1.429, allocations: 7.774 MB / 0.9442 GB, free: 127.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01376/1.443, allocations: 11.05 MB / 0.955 GB, free: 116.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.632e-05/1.443, allocations: 8 kB / 0.955 GB, free: 116.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.02874/1.471, allocations: 18.72 MB / 0.9732 GB, free: 97.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/1.471, allocations: 20 kB / 0.9733 GB, free: 97.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/1.472, allocations: 31.98 kB / 0.9733 GB, free: 97.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/1.491, allocations: 3.925 MB / 0.9771 GB, free: 93.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/1.506, allocations: 4.08 MB / 0.9811 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/1.541, allocations: 44.53 MB / 1.025 GB, free: 41.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01526/1.556, allocations: 1.14 MB / 1.026 GB, free: 40.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/1.558, allocations: 0.6405 MB / 1.026 GB, free: 40.14 MB / 0.6075 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 (2461): * Single equations (assignments): 2437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * 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): 14 systems {(38,0), (10,0), (19,0), (60,0), (10,0), (41,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002377/1.56, allocations: 1.022 MB / 1.027 GB, free: 39.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002128/1.562, allocations: 1.009 MB / 1.028 GB, free: 38.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.575, allocations: 7.801 MB / 1.036 GB, free: 30.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-05/1.575, allocations: 33.95 kB / 1.036 GB, free: 30.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.575, allocations: 4 kB / 1.036 GB, free: 30.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005202/1.581, allocations: 2.046 MB / 1.038 GB, free: 28.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002457/1.583, allocations: 124 kB / 1.038 GB, free: 28.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007159/1.59, allocations: 325.9 kB / 1.038 GB, free: 27.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007771/1.591, allocations: 0.5281 MB / 1.039 GB, free: 27.22 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01602/1.607, allocations: 7.779 MB / 1.047 GB, free: 19.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01379/1.621, allocations: 9.505 MB / 1.056 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003464/1.624, allocations: 2.578 MB / 1.058 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007398/1.632, allocations: 5.096 MB / 1.063 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of Backend: time 4.61e-07/1.632, allocations: 8 kB / 1.063 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.2674/1.899, allocations: 31.69 MB / 1.094 GB, free: 200 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02987/1.929, allocations: 18.62 MB / 1.112 GB, free: 191.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.55/2.479, allocations: 237.9 MB / 1.345 GB, free: 169.1 MB / 0.6075 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)