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.004678/0.004679, allocations: 99.59 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.001268/0.001268, allocations: 195.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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1809/0.1809, allocations: 16.68 MB / 307.2 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.2 kB / 426.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.08401, allocations: 53.57 MB / 480 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.09169/0.1757, allocations: 95.07 MB / 0.5616 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04387/0.2197, allocations: 23.57 MB / 0.5847 GB, free: 5.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.2302, allocations: 246.6 kB / 0.5849 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.2413, allocations: 3.056 MB / 0.5879 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2633/0.5046, allocations: 8.243 MB / 0.5959 GB, free: 19.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.5169, allocations: 5.343 MB / 0.6011 GB, free: 19.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02783/0.5448, allocations: 20.91 MB / 0.6216 GB, free: 19.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008711/0.5535, allocations: 5.168 MB / 0.6266 GB, free: 17.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/0.5652, allocations: 6.934 MB / 0.6334 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.5765, allocations: 7.283 MB / 0.6405 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004476/0.581, allocations: 1.195 MB / 0.6417 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008467/0.5895, allocations: 2.12 MB / 0.6437 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.593, allocations: 2.538 MB / 0.6462 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.6049, allocations: 6.863 MB / 0.6529 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03051/0.6354, allocations: 17.84 MB / 0.6703 GB, free: 2.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6355, allocations: 0 / 0.6703 GB, free: 2.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6355, allocations: 4 kB / 0.6703 GB, free: 2.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005441/0.636, allocations: 0 / 0.6703 GB, free: 2.035 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.05705/0.6931, allocations: 15.96 MB / 0.6859 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.6932, allocations: 8.031 kB / 0.6859 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.7088, allocations: 2.566 MB / 0.6884 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/0.7287, allocations: 7.668 MB / 0.6959 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006268/0.7294, allocations: 0.629 MB / 0.6965 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/0.7317, allocations: 0.8481 MB / 0.6974 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.752, allocations: 9.476 MB / 0.7066 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/0.7522, allocations: 48.41 kB / 0.7067 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/0.7534, allocations: 348 kB / 0.707 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.7536, allocations: 212 kB / 0.7072 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.7714, allocations: 7.679 MB / 0.7147 GB, free: 4.27 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.1056/0.8771, allocations: 58.88 MB / 0.7722 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/0.8988, allocations: 9.679 MB / 0.7817 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/0.9055, allocations: 3.04 MB / 0.7846 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.9062, allocations: 96.64 kB / 0.7847 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.9064, allocations: 124.6 kB / 0.7848 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=717): time 1.552e-05/0.9064, allocations: 0 / 0.7848 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=717): time 0.06157/0.968, allocations: 16.03 MB / 0.8005 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/0.9683, allocations: 360.4 kB / 0.8008 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01935/0.9876, allocations: 8.393 MB / 0.809 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001566/0.9892, allocations: 189.7 kB / 0.8092 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.4534/1.443, allocations: 4.449 MB / 0.8136 GB, free: 234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004984/1.448, allocations: 2.929 MB / 0.8164 GB, free: 232.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01642/1.464, allocations: 3.746 MB / 0.8201 GB, free: 232.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.464, allocations: 304.4 kB / 0.8204 GB, free: 232.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02098/1.485, allocations: 5.876 MB / 0.8261 GB, free: 229.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02725/1.513, allocations: 8.021 MB / 0.8339 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02858/1.541, allocations: 11.37 MB / 0.845 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.541, allocations: 7.812 kB / 0.845 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.0556/1.597, allocations: 20.41 MB / 0.865 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.597, allocations: 19.11 kB / 0.865 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.531e-05/1.597, allocations: 28 kB / 0.865 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02691/1.624, allocations: 5.015 MB / 0.8699 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01604/1.64, allocations: 3.932 MB / 0.8738 GB, free: 203.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06114/1.701, allocations: 54.97 MB / 0.9274 GB, free: 145.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01752/1.719, allocations: 1.466 MB / 0.9289 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003278/1.722, allocations: 0.6405 MB / 0.9295 GB, free: 143.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01789/1.74, allocations: 7.105 MB / 0.9364 GB, free: 136.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01451/1.755, allocations: 7.79 MB / 0.944 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0197/1.774, allocations: 11.04 MB / 0.9548 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.751e-05/1.774, allocations: 11.98 kB / 0.9548 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.05045/1.825, allocations: 18.72 MB / 0.9731 GB, free: 97.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/1.825, allocations: 20 kB / 0.9731 GB, free: 97.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.463e-05/1.825, allocations: 28.91 kB / 0.9732 GB, free: 97.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/1.847, allocations: 3.926 MB / 0.977 GB, free: 93.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/1.864, allocations: 4.088 MB / 0.981 GB, free: 89.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03877/1.903, allocations: 44.53 MB / 1.024 GB, free: 42.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/1.919, allocations: 1.138 MB / 1.026 GB, free: 41.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003043/1.922, allocations: 0.6444 MB / 1.026 GB, free: 40.63 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.005005/1.927, allocations: 1.011 MB / 1.027 GB, free: 39.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005124/1.933, allocations: 1.009 MB / 1.028 GB, free: 38.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/1.953, allocations: 7.798 MB / 1.036 GB, free: 30.74 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/1.953, allocations: 35.86 kB / 1.036 GB, free: 30.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.953, allocations: 4 kB / 1.036 GB, free: 30.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005866/1.959, allocations: 2.047 MB / 1.038 GB, free: 28.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003311/1.962, allocations: 124 kB / 1.038 GB, free: 28.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008394/1.97, allocations: 323.8 kB / 1.038 GB, free: 28.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/1.972, allocations: 0.5358 MB / 1.039 GB, free: 27.71 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01945/1.991, allocations: 7.778 MB / 1.046 GB, free: 20.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01793/2.009, allocations: 9.509 MB / 1.056 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004438/2.014, allocations: 2.582 MB / 1.058 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00929/2.023, allocations: 5.092 MB / 1.063 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of Backend: time 1.333e-06/2.023, allocations: 0 / 1.063 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.3202/2.343, allocations: 31.69 MB / 1.094 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of SimCode: time 0.04207/2.386, allocations: 18.62 MB / 1.112 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.6478/3.033, allocations: 237.9 MB / 1.345 GB, free: 169.7 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)