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.005976/0.005977, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001321/0.001321, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08027/0.08027, allocations: 16.69 MB / 307.2 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 71.88 kB / 426.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09302, allocations: 53.55 MB / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.2796/0.3726, allocations: 95.06 MB / 0.5616 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04356/0.4162, allocations: 23.58 MB / 0.5846 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01337/0.4297, allocations: 250.6 kB / 0.5849 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.4409, allocations: 3.05 MB / 0.5879 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02473/0.4657, allocations: 8.256 MB / 0.5959 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.4781, allocations: 5.34 MB / 0.6011 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03088/0.509, allocations: 20.9 MB / 0.6216 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.5216, allocations: 5.162 MB / 0.6266 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.5345, allocations: 6.939 MB / 0.6334 GB, free: 6.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01481/0.5494, allocations: 7.279 MB / 0.6405 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00597/0.5554, allocations: 1.195 MB / 0.6416 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009521/0.565, allocations: 2.133 MB / 0.6437 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004471/0.5695, allocations: 2.533 MB / 0.6462 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01415/0.5837, allocations: 6.862 MB / 0.6529 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03243/0.6161, allocations: 17.84 MB / 0.6703 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6162, allocations: 0 / 0.6703 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6162, allocations: 0 / 0.6703 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006514/0.6169, allocations: 0 / 0.6703 GB, free: 0.5352 MB / 0.4981 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.05829/0.6752, allocations: 15.96 MB / 0.6859 GB, free: 468 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.6752, allocations: 8.031 kB / 0.6859 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.6917, allocations: 2.577 MB / 0.6884 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/0.7115, allocations: 7.676 MB / 0.6959 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006983/0.7122, allocations: 0.6251 MB / 0.6965 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/0.7147, allocations: 0.8407 MB / 0.6974 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.7354, allocations: 9.476 MB / 0.7066 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.7356, allocations: 51.5 kB / 0.7067 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.7367, allocations: 356 kB / 0.707 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.7368, allocations: 207.9 kB / 0.7072 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.752, allocations: 7.677 MB / 0.7147 GB, free: 1.902 MB / 0.545 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.4568/1.209, allocations: 58.87 MB / 0.7722 GB, free: 132.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.222, allocations: 9.664 MB / 0.7816 GB, free: 126.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005516/1.227, allocations: 3.035 MB / 0.7846 GB, free: 124.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/1.228, allocations: 103.8 kB / 0.7847 GB, free: 124.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/1.228, allocations: 120 kB / 0.7848 GB, free: 124.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=717): time 1.073e-05/1.228, allocations: 3.938 kB / 0.7848 GB, free: 124.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=717): time 0.05275/1.281, allocations: 16.02 MB / 0.8005 GB, free: 116 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.281, allocations: 367.1 kB / 0.8008 GB, free: 115.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.293, allocations: 8.391 MB / 0.809 GB, free: 107.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/1.294, allocations: 194.5 kB / 0.8092 GB, free: 107.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.297, allocations: 4.451 MB / 0.8135 GB, free: 103.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002917/1.3, allocations: 2.92 MB / 0.8164 GB, free: 101 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006675/1.307, allocations: 3.747 MB / 0.82 GB, free: 97.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.636e-05/1.307, allocations: 305.1 kB / 0.8203 GB, free: 96.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009615/1.316, allocations: 5.88 MB / 0.8261 GB, free: 91.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/1.329, allocations: 8.026 MB / 0.8339 GB, free: 82.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/1.346, allocations: 11.37 MB / 0.845 GB, free: 70.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/1.347, allocations: 19 kB / 0.845 GB, free: 70.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.05157/1.398, allocations: 20.41 MB / 0.865 GB, free: 50.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.398, allocations: 20 kB / 0.865 GB, free: 50.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.738e-05/1.398, allocations: 28 kB / 0.865 GB, free: 50.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02643/1.425, allocations: 5.008 MB / 0.8699 GB, free: 45.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01617/1.441, allocations: 3.936 MB / 0.8738 GB, free: 41.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2886/1.73, allocations: 54.96 MB / 0.9274 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0166/1.746, allocations: 1.467 MB / 0.9289 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003066/1.749, allocations: 0.6443 MB / 0.9295 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01663/1.766, allocations: 7.107 MB / 0.9364 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01466/1.781, allocations: 7.776 MB / 0.944 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01824/1.799, allocations: 11.06 MB / 0.9548 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001124/1.799, allocations: 7.906 kB / 0.9548 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.04227/1.841, allocations: 18.73 MB / 0.9731 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/1.841, allocations: 17.19 kB / 0.9731 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-05/1.842, allocations: 29.88 kB / 0.9732 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.863, allocations: 3.92 MB / 0.977 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01667/1.88, allocations: 4.091 MB / 0.981 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03823/1.918, allocations: 44.53 MB / 1.024 GB, free: 105.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01703/1.935, allocations: 1.138 MB / 1.026 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/1.938, allocations: 0.6399 MB / 1.026 GB, free: 103.9 MB / 0.5607 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.003935/1.942, allocations: 1.022 MB / 1.027 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00332/1.945, allocations: 1.009 MB / 1.028 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.961, allocations: 7.802 MB / 1.036 GB, free: 95.36 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/1.961, allocations: 36.97 kB / 1.036 GB, free: 95.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.961, allocations: 10.84 kB / 1.036 GB, free: 95.35 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006512/1.968, allocations: 2.037 MB / 1.038 GB, free: 93.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003101/1.971, allocations: 131.9 kB / 1.038 GB, free: 93.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008765/1.98, allocations: 322.6 kB / 1.038 GB, free: 93.24 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/1.981, allocations: 0.5271 MB / 1.039 GB, free: 92.94 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01758/1.999, allocations: 7.786 MB / 1.046 GB, free: 85.34 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01524/2.014, allocations: 9.499 MB / 1.056 GB, free: 75.75 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003718/2.018, allocations: 2.584 MB / 1.058 GB, free: 73.16 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007656/2.026, allocations: 5.096 MB / 1.063 GB, free: 68.11 MB / 0.5607 GB Notification: Performance of Backend: time 1.312e-06/2.026, allocations: 0 / 1.063 GB, free: 68.11 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.06539/2.091, allocations: 31.69 MB / 1.094 GB, free: 36 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03611/2.127, allocations: 18.62 MB / 1.112 GB, free: 17.52 MB / 0.5607 GB Notification: Performance of Templates: time 0.6358/2.763, allocations: 237.9 MB / 1.345 GB, free: 68 kB / 0.5763 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)