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.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.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00157/0.00157, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07824/0.07824, allocations: 16.74 MB / 307.9 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 60.45 kB / 373.1 MB, free: 49.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 53.58 MB / 426.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization): time 0.3238/0.4335, allocations: 94.45 MB / 0.509 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0395/0.473, allocations: 23.38 MB / 0.5318 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.4875, allocations: 244.5 kB / 0.532 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.4985, allocations: 3.034 MB / 0.535 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02511/0.5236, allocations: 8.21 MB / 0.543 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.5377, allocations: 5.089 MB / 0.548 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03468/0.5724, allocations: 20.6 MB / 0.5681 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.5844, allocations: 5.109 MB / 0.5731 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/0.5982, allocations: 6.801 MB / 0.5797 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01514/0.6134, allocations: 7.116 MB / 0.5867 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005552/0.619, allocations: 1.16 MB / 0.5878 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.631, allocations: 2.094 MB / 0.5899 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005867/0.6369, allocations: 2.467 MB / 0.5923 GB, free: 480 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01653/0.6534, allocations: 6.749 MB / 0.5989 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03483/0.6883, allocations: 17.4 MB / 0.6158 GB, free: 8.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.6883, allocations: 0 / 0.6158 GB, free: 8.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6884, allocations: 3.938 kB / 0.6158 GB, free: 8.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006735/0.689, allocations: 4 kB / 0.6158 GB, free: 8.902 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1950 * Number of variables: 1950 Notification: Performance of Generate backend data structure: time 0.0553/0.7444, allocations: 14.41 MB / 0.6299 GB, free: 10.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7444, allocations: 8.031 kB / 0.6299 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.7609, allocations: 2.548 MB / 0.6324 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/0.7826, allocations: 7.534 MB / 0.6398 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009502/0.7836, allocations: 0.6841 MB / 0.6404 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/0.7865, allocations: 0.8242 MB / 0.6412 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.8066, allocations: 9.198 MB / 0.6502 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.8069, allocations: 47.56 kB / 0.6503 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.808, allocations: 348 kB / 0.6506 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.8081, allocations: 204 kB / 0.6508 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.8231, allocations: 7.336 MB / 0.658 GB, free: 12.9 MB / 494.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.4824/1.306, allocations: 58.76 MB / 0.7153 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/1.318, allocations: 9.16 MB / 0.7243 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.324, allocations: 2.875 MB / 0.7271 GB, free: 156 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/1.324, allocations: 97.47 kB / 0.7272 GB, free: 156 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/1.324, allocations: 125.9 kB / 0.7273 GB, free: 156 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=691): time 8.326e-06/1.324, allocations: 0 / 0.7273 GB, free: 156 MB / 0.5138 GB Notification: Performance of matching and sorting (n=691): time 0.04929/1.373, allocations: 15.42 MB / 0.7424 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.374, allocations: 359.3 kB / 0.7427 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/1.387, allocations: 8.152 MB / 0.7507 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001497/1.388, allocations: 184.1 kB / 0.7508 GB, free: 147 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003758/1.392, allocations: 4.342 MB / 0.7551 GB, free: 144 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00334/1.395, allocations: 2.701 MB / 0.7577 GB, free: 141.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00889/1.404, allocations: 3.59 MB / 0.7612 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/1.404, allocations: 301.1 kB / 0.7615 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01028/1.415, allocations: 5.612 MB / 0.767 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/1.427, allocations: 7.719 MB / 0.7745 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01898/1.446, allocations: 10.88 MB / 0.7852 GB, free: 117 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.446, allocations: 8 kB / 0.7852 GB, free: 116.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2562) (initialization): time 0.05172/1.498, allocations: 19.66 MB / 0.8044 GB, free: 97.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/1.498, allocations: 19.94 kB / 0.8044 GB, free: 97.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.862e-05/1.498, allocations: 28 kB / 0.8044 GB, free: 97.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02728/1.526, allocations: 5.266 MB / 0.8096 GB, free: 91.81 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/1.541, allocations: 3.812 MB / 0.8133 GB, free: 88 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05784/1.599, allocations: 56.7 MB / 0.8686 GB, free: 27.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02016/1.619, allocations: 1.379 MB / 0.87 GB, free: 26.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003576/1.623, allocations: 0.621 MB / 0.8706 GB, free: 25.68 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01825/1.641, allocations: 6.818 MB / 0.8773 GB, free: 18.85 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01406/1.655, allocations: 7.472 MB / 0.8846 GB, free: 10.92 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2652/1.92, allocations: 10.55 MB / 0.8949 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001129/1.92, allocations: 8.594 kB / 0.8949 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2562) (initialization_lambda0): time 0.05802/1.978, allocations: 17.95 MB / 0.9124 GB, free: 166.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/1.978, allocations: 15.75 kB / 0.9124 GB, free: 166.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.698e-05/1.979, allocations: 32.56 kB / 0.9124 GB, free: 166.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/2.002, allocations: 4.126 MB / 0.9165 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01574/2.018, allocations: 3.961 MB / 0.9203 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03953/2.057, allocations: 48.19 MB / 0.9674 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/2.076, allocations: 1.091 MB / 0.9685 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00373/2.08, allocations: 0.6236 MB / 0.9691 GB, free: 124.1 MB / 0.5138 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 (2374): * Single equations (assignments): 2348 * 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 {(10,0), (32,0), (10,0), (16,0), (32,0), (32,0), (10,0), (32,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.004206/2.084, allocations: 0.9923 MB / 0.97 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00367/2.088, allocations: 0.9348 MB / 0.971 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/2.101, allocations: 7.405 MB / 0.9782 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/2.102, allocations: 34.69 kB / 0.9782 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/2.102, allocations: 0 / 0.9782 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006869/2.108, allocations: 1.918 MB / 0.9801 GB, free: 116 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002936/2.111, allocations: 124 kB / 0.9802 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007944/2.119, allocations: 321.1 kB / 0.9805 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/2.121, allocations: 0.5199 MB / 0.981 GB, free: 115.3 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01611/2.137, allocations: 7.314 MB / 0.9882 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01614/2.153, allocations: 8.912 MB / 0.9969 GB, free: 100.1 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004202/2.157, allocations: 2.428 MB / 0.9992 GB, free: 97.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009654/2.167, allocations: 4.97 MB / 1.004 GB, free: 92.77 MB / 0.5138 GB Notification: Performance of Backend: time 1.262e-06/2.167, allocations: 0 / 1.004 GB, free: 92.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.06657/2.234, allocations: 30.96 MB / 1.034 GB, free: 61.35 MB / 0.5138 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.03535/2.269, allocations: 17.97 MB / 1.052 GB, free: 43.52 MB / 0.5138 GB Notification: Performance of Templates: time 0.7461/3.015, allocations: 227.7 MB / 1.274 GB, free: 168.5 MB / 0.5294 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.makefile (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=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe 2>&1)