Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107.8 kB / 18.37 MB, free: 4.758 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.001129/0.001129, allocations: 191 kB / 19.3 MB, free: 3.828 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.318/1.318, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06356/0.06356, allocations: 14.17 MB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.149/3.149, allocations: 461.2 MB / 0.7801 GB, free: 107.1 MB / 0.6545 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: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 88.58 kB / 0.963 GB, free: 2.008 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 172.1 MB / 1.131 GB, free: 28.88 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.04078/1.062, allocations: 55.56 MB / 1.185 GB, free: 3.098 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03818/1.101, allocations: 20.53 MB / 1.205 GB, free: 1.797 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01391/1.115, allocations: 213.1 kB / 1.206 GB, free: 1.734 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/1.126, allocations: 2.884 MB / 1.208 GB, free: 15.38 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.02659/1.152, allocations: 7.7 MB / 1.216 GB, free: 8.793 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.009344/1.162, allocations: 3.13 MB / 1.219 GB, free: 6.133 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.03052/1.192, allocations: 18.58 MB / 1.237 GB, free: 10.57 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00744/1.2, allocations: 2.367 MB / 1.239 GB, free: 9.285 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/1.214, allocations: 6.125 MB / 1.245 GB, free: 5.457 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/1.228, allocations: 6.624 MB / 1.252 GB, free: 0.8516 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.004857/1.232, allocations: 0.9572 MB / 1.253 GB, free: 0.8516 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/1.243, allocations: 1.851 MB / 1.255 GB, free: 0.6523 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.004585/1.248, allocations: 2.076 MB / 1.257 GB, free: 14.8 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.01475/1.262, allocations: 5.925 MB / 1.262 GB, free: 10.5 MB / 0.9517 GB Notification: Performance of NFConvertDAE.convert: time 0.02643/1.289, allocations: 14.39 MB / 1.277 GB, free: 136 kB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.289, allocations: 1.438 kB / 1.277 GB, free: 136 kB / 0.9517 GB Notification: Performance of FrontEnd: time 1.593e-06/1.289, allocations: 0 / 1.277 GB, free: 136 kB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.0006351/1.29, allocations: 4 kB / 1.277 GB, free: 132 kB / 0.9517 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.05885/1.348, allocations: 14.35 MB / 1.291 GB, free: 5.117 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.348, allocations: 8.031 kB / 1.291 GB, free: 5.109 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008366/1.357, allocations: 1.441 MB / 1.292 GB, free: 3.656 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/1.374, allocations: 6.33 MB / 1.298 GB, free: 13.26 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/1.375, allocations: 0.581 MB / 1.299 GB, free: 12.68 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/1.377, allocations: 0.7694 MB / 1.299 GB, free: 11.91 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/1.395, allocations: 7.879 MB / 1.307 GB, free: 3.707 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/1.395, allocations: 19.88 kB / 1.307 GB, free: 3.688 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007725/1.396, allocations: 308 kB / 1.307 GB, free: 3.387 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/1.396, allocations: 188 kB / 1.308 GB, free: 3.203 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.414, allocations: 7.492 MB / 1.315 GB, free: 11.7 MB / 0.9985 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.08721/1.502, allocations: 48.87 MB / 1.363 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/1.521, allocations: 9.317 MB / 1.372 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007979/1.529, allocations: 3.545 MB / 1.375 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/1.53, allocations: 98.11 kB / 1.375 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/1.53, allocations: 116.7 kB / 1.375 GB, free: 9.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=787): time 1.564e-05/1.53, allocations: 0 / 1.375 GB, free: 9.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=787): time 0.02531/1.555, allocations: 10.42 MB / 1.386 GB, free: 15.04 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.556, allocations: 343.2 kB / 1.386 GB, free: 14.64 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.567, allocations: 5.654 MB / 1.391 GB, free: 9.004 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.001457/1.568, allocations: 173.7 kB / 1.392 GB, free: 8.828 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.003366/1.572, allocations: 3.56 MB / 1.395 GB, free: 5.238 MB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.003996/1.576, allocations: 2.726 MB / 1.398 GB, free: 2.473 MB / 1.077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005366/1.581, allocations: 1.55 MB / 1.399 GB, free: 0.9102 MB / 1.077 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/1.581, allocations: 305.1 kB / 1.4 GB, free: 0.6094 MB / 1.077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006532/1.588, allocations: 2.936 MB / 1.402 GB, free: 13.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007733/1.595, allocations: 4.744 MB / 1.407 GB, free: 8.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.61, allocations: 7.641 MB / 1.415 GB, free: 8 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.97e-05/1.61, allocations: 12.05 kB / 1.415 GB, free: 15.99 MB / 1.108 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03386/1.644, allocations: 12.43 MB / 1.427 GB, free: 3.484 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.644, allocations: 31.88 kB / 1.427 GB, free: 3.453 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/1.644, allocations: 44 kB / 1.427 GB, free: 3.41 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02555/1.669, allocations: 5.497 MB / 1.432 GB, free: 13.85 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007264/1.677, allocations: 1.74 MB / 1.434 GB, free: 12.11 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07293/1.75, allocations: 53.96 MB / 1.487 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009817/1.759, allocations: 0.7706 MB / 1.487 GB, free: 2.492 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.761, allocations: 339.9 kB / 1.488 GB, free: 2.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009549/1.771, allocations: 3.803 MB / 1.491 GB, free: 14.35 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007202/1.778, allocations: 4.506 MB / 1.496 GB, free: 9.18 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01324/1.791, allocations: 7.313 MB / 1.503 GB, free: 1.266 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.979e-05/1.791, allocations: 16 kB / 1.503 GB, free: 1.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02714/1.818, allocations: 10.73 MB / 1.513 GB, free: 6.445 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.818, allocations: 26.97 kB / 1.513 GB, free: 6.422 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.598e-05/1.818, allocations: 48.12 kB / 1.513 GB, free: 6.375 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02129/1.84, allocations: 4.415 MB / 1.518 GB, free: 1.902 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.848, allocations: 1.88 MB / 1.52 GB, free: 20 kB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0589/1.907, allocations: 43.45 MB / 1.562 GB, free: 1.977 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00999/1.917, allocations: 0.5929 MB / 1.563 GB, free: 1.379 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.919, allocations: 336 kB / 1.563 GB, free: 1.051 MB / 1.249 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * 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 (949): * Single equations (assignments): 929 * 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), (172,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.002923/1.921, allocations: 0.6833 MB / 1.564 GB, free: 368 kB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002894/1.924, allocations: 0.7952 MB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.941, allocations: 8.626 MB / 1.573 GB, free: 6.863 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.632e-05/1.941, allocations: 39.84 kB / 1.573 GB, free: 6.824 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.941, allocations: 0 / 1.573 GB, free: 6.824 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005986/1.947, allocations: 1.642 MB / 1.574 GB, free: 5.152 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/1.949, allocations: 140 kB / 1.575 GB, free: 5.016 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007008/1.957, allocations: 243.7 kB / 1.575 GB, free: 4.777 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/1.958, allocations: 0.6144 MB / 1.575 GB, free: 4.16 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.888/2.846, allocations: 8.175 MB / 1.583 GB, free: 372.4 MB / 1.265 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07562/2.921, allocations: 42.37 MB / 1.625 GB, free: 356.5 MB / 1.265 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004074/2.926, allocations: 2.66 MB / 1.627 GB, free: 355.4 MB / 1.265 GB Notification: Performance of sorting global known variables: time 0.005216/2.931, allocations: 3.636 MB / 1.631 GB, free: 354.1 MB / 1.265 GB Notification: Performance of Backend: time 5.51e-07/2.931, allocations: 3.906 kB / 1.631 GB, free: 354.1 MB / 1.265 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.04258/2.973, allocations: 22.05 MB / 1.652 GB, free: 343.8 MB / 1.265 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.04034/3.014, allocations: 26.18 MB / 1.678 GB, free: 330.4 MB / 1.265 GB Notification: Performance of Templates: time 0.2365/3.25, allocations: 185.8 MB / 1.859 GB, free: 158.9 MB / 1.265 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)