Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 106.9 kB / 17.29 MB, free: 6.195 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.001295/0.001296, allocations: 194 kB / 18.21 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06265/0.06265, allocations: 14.16 MB / 285.6 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.532/2.532, allocations: 418.6 MB / 0.7373 GB, free: 5.344 MB / 0.5764 GB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 83.88 kB / 0.9083 GB, free: 1.242 MB / 0.686 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 160.9 MB / 1.065 GB, free: 120 kB / 0.8423 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.8567/1.185, allocations: 64.66 MB / 1.129 GB, free: 12.84 MB / 0.8584 GB Notification: Performance of NFInst.instExpressions: time 0.04286/1.228, allocations: 23.36 MB / 1.151 GB, free: 11.68 MB / 0.874 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0163/1.244, allocations: 247.6 kB / 1.152 GB, free: 11.61 MB / 0.874 GB Notification: Performance of NFTyping.typeComponents: time 0.01391/1.258, allocations: 2.798 MB / 1.154 GB, free: 10.41 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.03509/1.293, allocations: 8.025 MB / 1.162 GB, free: 4.773 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.305, allocations: 3.013 MB / 1.165 GB, free: 2.664 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.04107/1.346, allocations: 22.11 MB / 1.187 GB, free: 6.457 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008416/1.354, allocations: 2.517 MB / 1.189 GB, free: 5.133 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01687/1.371, allocations: 6.407 MB / 1.195 GB, free: 1.16 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/1.386, allocations: 6.813 MB / 1.202 GB, free: 12.5 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.004445/1.391, allocations: 0.8943 MB / 1.203 GB, free: 12.5 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/1.402, allocations: 1.892 MB / 1.205 GB, free: 12.3 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.005034/1.407, allocations: 2.071 MB / 1.207 GB, free: 10.48 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.01832/1.426, allocations: 6.459 MB / 1.213 GB, free: 5.895 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.03097/1.457, allocations: 15.21 MB / 1.228 GB, free: 10.97 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.457, allocations: 0 / 1.228 GB, free: 10.97 MB / 0.9209 GB Notification: Performance of FrontEnd: time 1.723e-06/1.457, allocations: 0 / 1.228 GB, free: 10.97 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0007267/1.458, allocations: 3.938 kB / 1.228 GB, free: 10.97 MB / 0.9209 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 * Number of variables: 2196 Notification: Performance of Generate backend data structure: time 0.06777/1.525, allocations: 15.69 MB / 1.243 GB, free: 1.156 MB / 0.9209 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/1.525, allocations: 12.19 kB / 1.243 GB, free: 1.152 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.537, allocations: 1.645 MB / 1.245 GB, free: 348 kB / 0.9209 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/1.558, allocations: 6.633 MB / 1.251 GB, free: 11.32 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/1.559, allocations: 0.6555 MB / 1.252 GB, free: 10.87 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/1.562, allocations: 0.8671 MB / 1.253 GB, free: 10 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/1.587, allocations: 8.981 MB / 1.262 GB, free: 0.6211 MB / 0.9365 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/1.588, allocations: 15.88 kB / 1.262 GB, free: 0.6055 MB / 0.9365 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/1.589, allocations: 352 kB / 1.262 GB, free: 268 kB / 0.9365 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/1.589, allocations: 212 kB / 1.262 GB, free: 56 kB / 0.9365 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/1.608, allocations: 8.519 MB / 1.271 GB, free: 7.512 MB / 0.9521 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.08638/1.695, allocations: 53.76 MB / 1.323 GB, free: 12.86 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.716, allocations: 10.66 MB / 1.333 GB, free: 2.164 MB / 1.015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008154/1.724, allocations: 4.012 MB / 1.337 GB, free: 14.14 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/1.725, allocations: 110.9 kB / 1.337 GB, free: 14.04 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/1.725, allocations: 129.7 kB / 1.338 GB, free: 13.9 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 1.166e-05/1.725, allocations: 3.984 kB / 1.338 GB, free: 13.89 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.04932/1.774, allocations: 20.41 MB / 1.358 GB, free: 9.402 MB / 1.046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/1.774, allocations: 356.2 kB / 1.358 GB, free: 8.992 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.784, allocations: 5.786 MB / 1.364 GB, free: 3.254 MB / 1.046 GB Notification: Performance of collectPreVariables (initialization): time 0.00168/1.786, allocations: 193.7 kB / 1.364 GB, free: 3.059 MB / 1.046 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.79, allocations: 4.05 MB / 1.368 GB, free: 14.97 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.004205/1.794, allocations: 3.149 MB / 1.371 GB, free: 11.78 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003053/1.797, allocations: 1.733 MB / 1.372 GB, free: 10.04 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.797, allocations: 305.1 kB / 1.373 GB, free: 9.734 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006244/1.803, allocations: 3.276 MB / 1.376 GB, free: 6.449 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008625/1.812, allocations: 5.262 MB / 1.381 GB, free: 476 kB / 1.062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/1.828, allocations: 8.588 MB / 1.389 GB, free: 7.156 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-05/1.828, allocations: 12 kB / 1.389 GB, free: 7.145 MB / 1.077 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.03476/1.863, allocations: 13.88 MB / 1.403 GB, free: 9.117 MB / 1.093 GB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/1.863, allocations: 27.98 kB / 1.403 GB, free: 9.09 MB / 1.093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/1.863, allocations: 52.84 kB / 1.403 GB, free: 9.039 MB / 1.093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03132/1.894, allocations: 6.228 MB / 1.409 GB, free: 2.742 MB / 1.093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008777/1.903, allocations: 1.954 MB / 1.411 GB, free: 0.7852 MB / 1.093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08397/1.987, allocations: 57.94 MB / 1.468 GB, free: 3.984 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.998, allocations: 0.5367 MB / 1.468 GB, free: 3.445 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.999, allocations: 376 kB / 1.469 GB, free: 3.078 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009447/2.009, allocations: 4.254 MB / 1.473 GB, free: 14.81 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007057/2.016, allocations: 5.024 MB / 1.478 GB, free: 9.062 MB / 1.171 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01417/2.03, allocations: 8.268 MB / 1.486 GB, free: 80 kB / 1.171 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.422e-05/2.03, allocations: 16 kB / 1.486 GB, free: 64 kB / 1.171 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.02823/2.058, allocations: 12.19 MB / 1.498 GB, free: 3.734 MB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/2.058, allocations: 24 kB / 1.498 GB, free: 3.711 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.922e-05/2.058, allocations: 51.94 kB / 1.498 GB, free: 3.66 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02593/2.084, allocations: 5.144 MB / 1.503 GB, free: 14.46 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009147/2.093, allocations: 2.099 MB / 1.505 GB, free: 12.36 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6016/2.695, allocations: 47.52 MB / 1.551 GB, free: 374.7 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.705, allocations: 458.3 kB / 1.552 GB, free: 374.7 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/2.707, allocations: 373.3 kB / 1.552 GB, free: 374.7 MB / 1.233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 10 (GEN_2_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_1.AVR.firstOrderLim.I.local_reset,GEN_2_1.TGOV.firstOrderLim.I.local_reset,GEN_1_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_1.AVR.firstOrderLim.I.local_reset,GEN_1_1.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 (1063): * Single equations (assignments): 1043 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(38,0), (216,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002047/2.709, allocations: 0.7403 MB / 1.553 GB, free: 374.6 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/2.711, allocations: 0.9026 MB / 1.554 GB, free: 374.6 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/2.729, allocations: 10.01 MB / 1.563 GB, free: 374.2 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/2.729, allocations: 46.42 kB / 1.563 GB, free: 374.2 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/2.729, allocations: 0 / 1.563 GB, free: 374.2 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006028/2.735, allocations: 1.586 MB / 1.565 GB, free: 374.1 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003196/2.739, allocations: 159.5 kB / 1.565 GB, free: 374.1 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00697/2.746, allocations: 361.9 kB / 1.565 GB, free: 374.1 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/2.747, allocations: 0.7202 MB / 1.566 GB, free: 374.1 MB / 1.233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02264/2.77, allocations: 9.412 MB / 1.575 GB, free: 371.5 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1028/2.873, allocations: 46.8 MB / 1.621 GB, free: 349 MB / 1.233 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007104/2.88, allocations: 3.012 MB / 1.624 GB, free: 347.8 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.006833/2.887, allocations: 3.676 MB / 1.628 GB, free: 346.5 MB / 1.233 GB Notification: Performance of Backend: time 2.445e-06/2.887, allocations: 0 / 1.628 GB, free: 346.5 MB / 1.233 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.05639/2.943, allocations: 24.68 MB / 1.652 GB, free: 335.2 MB / 1.233 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.04833/2.992, allocations: 33.07 MB / 1.684 GB, free: 315.6 MB / 1.233 GB Notification: Performance of Templates: time 0.2933/3.285, allocations: 204.1 MB / 1.883 GB, free: 116.7 MB / 1.233 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)