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.00156/0.001559, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1795/0.1795, allocations: 16.78 MB / 307.2 MB, free: 14.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.88 kB / 371.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 53.54 MB / 425.3 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.06962/0.3586, allocations: 95.08 MB / 0.5082 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04726/0.4059, allocations: 23.58 MB / 0.5312 GB, free: 14.48 MB / 414.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 UNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter SNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter UNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter SNom has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.01412/0.4201, allocations: 246.6 kB / 0.5315 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.4321, allocations: 3.049 MB / 0.5344 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02577/0.4579, allocations: 8.262 MB / 0.5425 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.4719, allocations: 5.344 MB / 0.5477 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02773/0.4997, allocations: 20.81 MB / 0.5681 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.5109, allocations: 5.171 MB / 0.5731 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2163/0.7273, allocations: 6.893 MB / 0.5798 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.7385, allocations: 7.286 MB / 0.5869 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005408/0.744, allocations: 1.196 MB / 0.5881 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008714/0.7527, allocations: 2.129 MB / 0.5902 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004352/0.7571, allocations: 2.536 MB / 0.5927 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01191/0.769, allocations: 6.86 MB / 0.5994 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02561/0.7946, allocations: 17.48 MB / 0.6164 GB, free: 22.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.7947, allocations: 2.156 kB / 0.6164 GB, free: 22.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7947, allocations: 0 / 0.6164 GB, free: 22.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006639/0.7954, allocations: 6.812 kB / 0.6165 GB, free: 22.5 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: 2006 * Number of variables: 2006 Notification: Performance of Generate backend data structure: time 0.06753/0.8629, allocations: 15.65 MB / 0.6317 GB, free: 17.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.863, allocations: 10.94 kB / 0.6318 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.8797, allocations: 2.509 MB / 0.6342 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/0.8985, allocations: 7.387 MB / 0.6414 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006764/0.8992, allocations: 0.6274 MB / 0.642 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/0.9025, allocations: 0.8456 MB / 0.6429 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02548/0.928, allocations: 9.487 MB / 0.6521 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005037/0.9286, allocations: 44.69 kB / 0.6522 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003255/0.9319, allocations: 352 kB / 0.6525 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.932, allocations: 208.9 kB / 0.6527 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.9495, allocations: 7.677 MB / 0.6602 GB, free: 13.25 MB / 462.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.09146/1.041, allocations: 59.06 MB / 0.7179 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/1.058, allocations: 9.667 MB / 0.7273 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006034/1.064, allocations: 3.039 MB / 0.7303 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/1.064, allocations: 104.5 kB / 0.7304 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/1.064, allocations: 120.6 kB / 0.7305 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=717): time 9.618e-06/1.064, allocations: 3.562 kB / 0.7305 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=717): time 0.05957/1.124, allocations: 15.98 MB / 0.7461 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.124, allocations: 360.4 kB / 0.7464 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0188/1.143, allocations: 8.372 MB / 0.7546 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001947/1.145, allocations: 193.7 kB / 0.7548 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005685/1.151, allocations: 4.336 MB / 0.759 GB, free: 5.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004811/1.156, allocations: 2.81 MB / 0.7618 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2135/1.369, allocations: 3.724 MB / 0.7654 GB, free: 208.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/1.369, allocations: 305.6 kB / 0.7657 GB, free: 208.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01534/1.384, allocations: 5.871 MB / 0.7714 GB, free: 208 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/1.4, allocations: 8.022 MB / 0.7793 GB, free: 206.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02202/1.422, allocations: 11.37 MB / 0.7904 GB, free: 202.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/1.422, allocations: 8.281 kB / 0.7904 GB, free: 202.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.06302/1.485, allocations: 20.36 MB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.485, allocations: 15.78 kB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/1.485, allocations: 31.03 kB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02781/1.513, allocations: 5.036 MB / 0.8152 GB, free: 194.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/1.529, allocations: 3.934 MB / 0.8191 GB, free: 190.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05878/1.588, allocations: 55.01 MB / 0.8728 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01975/1.608, allocations: 1.434 MB / 0.8742 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003543/1.611, allocations: 0.6393 MB / 0.8748 GB, free: 135.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01896/1.63, allocations: 7.102 MB / 0.8818 GB, free: 129.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01521/1.646, allocations: 7.78 MB / 0.8894 GB, free: 121.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01945/1.665, allocations: 11.05 MB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.611e-05/1.665, allocations: 13.42 kB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.05015/1.715, allocations: 18.66 MB / 0.9184 GB, free: 92.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/1.716, allocations: 16 kB / 0.9184 GB, free: 92.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.271e-05/1.716, allocations: 28.28 kB / 0.9184 GB, free: 92.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0218/1.738, allocations: 3.962 MB / 0.9223 GB, free: 88.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/1.754, allocations: 4.084 MB / 0.9263 GB, free: 84.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03843/1.793, allocations: 44.54 MB / 0.9698 GB, free: 37.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/1.812, allocations: 1.115 MB / 0.9709 GB, free: 36.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003736/1.816, allocations: 0.6366 MB / 0.9715 GB, free: 35.8 MB / 0.545 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.005509/1.822, allocations: 1.014 MB / 0.9725 GB, free: 34.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004243/1.826, allocations: 0.9571 MB / 0.9734 GB, free: 33.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/1.844, allocations: 7.813 MB / 0.9811 GB, free: 25.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.844, allocations: 35.86 kB / 0.9811 GB, free: 25.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.844, allocations: 0.5469 kB / 0.9811 GB, free: 25.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007457/1.851, allocations: 1.999 MB / 0.983 GB, free: 23.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004162/1.855, allocations: 128 kB / 0.9832 GB, free: 23.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009569/1.865, allocations: 319.8 kB / 0.9835 GB, free: 23.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/1.867, allocations: 0.5281 MB / 0.984 GB, free: 22.96 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01958/1.886, allocations: 7.815 MB / 0.9916 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01644/1.903, allocations: 9.449 MB / 1.001 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00394/1.907, allocations: 2.582 MB / 1.003 GB, free: 3.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2482/2.155, allocations: 5.096 MB / 1.008 GB, free: 182.2 MB / 0.545 GB Notification: Performance of Backend: time 1.213e-06/2.155, allocations: 0 / 1.008 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.08325/2.238, allocations: 31.6 MB / 1.039 GB, free: 175.6 MB / 0.545 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.04971/2.288, allocations: 18.54 MB / 1.057 GB, free: 168.5 MB / 0.545 GB Notification: Performance of Templates: time 0.5679/2.856, allocations: 233.9 MB / 1.286 GB, free: 136.7 MB / 0.545 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)