Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.conf.json 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/ModelicaServices 4.0.0+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-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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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) 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) Running command: translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_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_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009332/0.0009333, allocations: 195.5 kB / 17.36 MB, free: 6.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.3775/0.3775, allocations: 205.5 MB / 223.6 MB, free: 21.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 111.9 kB / 271.1 MB, free: 7.871 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1017/0.1017, allocations: 14.43 MB / 332.9 MB, free: 45.26 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.304/1.304, allocations: 460.6 MB / 0.8245 GB, free: 12.48 MB / 0.6388 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.001202/0.001202, allocations: 76.5 kB / 1.006 GB, free: 11.98 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2018, allocations: 171.9 MB / 1.174 GB, free: 15.7 MB / 0.9045 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.04198/0.2439, allocations: 64.67 MB / 1.237 GB, free: 14.77 MB / 0.967 GB Notification: Performance of NFInst.instExpressions: time 0.6524/0.8963, allocations: 23.35 MB / 1.26 GB, free: 38.72 MB / 0.9673 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008003/0.9043, allocations: 247.2 kB / 1.26 GB, free: 38.72 MB / 0.9673 GB Notification: Performance of NFTyping.typeComponents: time 0.005609/0.91, allocations: 2.797 MB / 1.263 GB, free: 38.68 MB / 0.9673 GB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.9261, allocations: 8.023 MB / 1.271 GB, free: 38.4 MB / 0.9673 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.9305, allocations: 3.009 MB / 1.274 GB, free: 38.32 MB / 0.9673 GB Notification: Performance of NFFlatten.flatten: time 0.0184/0.9489, allocations: 22.11 MB / 1.296 GB, free: 30 MB / 0.9673 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.9525, allocations: 2.527 MB / 1.298 GB, free: 28.86 MB / 0.9673 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008081/0.9606, allocations: 6.406 MB / 1.304 GB, free: 25.54 MB / 0.9673 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007552/0.9682, allocations: 6.816 MB / 1.311 GB, free: 22.26 MB / 0.9673 GB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.9695, allocations: 0.8951 MB / 1.312 GB, free: 22.26 MB / 0.9673 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.9738, allocations: 1.896 MB / 1.314 GB, free: 22.1 MB / 0.9673 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.9749, allocations: 2.058 MB / 1.316 GB, free: 20.64 MB / 0.9673 GB Notification: Performance of NFVerifyModel.verify: time 0.005437/0.9803, allocations: 6.467 MB / 1.322 GB, free: 16.53 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.9925, allocations: 15.21 MB / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9925, allocations: 0 / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9925, allocations: 1.438 kB / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of Transformations before backend: time 0.0002286/0.9927, allocations: 0 / 1.337 GB, free: 10.36 MB / 0.9673 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.03777/1.031, allocations: 15.69 MB / 1.352 GB, free: 0.7695 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.031, allocations: 9.422 kB / 1.352 GB, free: 0.7695 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/1.036, allocations: 1.648 MB / 1.354 GB, free: 15.95 MB / 0.9829 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/1.046, allocations: 6.632 MB / 1.36 GB, free: 11.07 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/1.047, allocations: 0.6531 MB / 1.361 GB, free: 10.77 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/1.048, allocations: 0.8664 MB / 1.362 GB, free: 10.48 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/1.059, allocations: 8.979 MB / 1.37 GB, free: 4.754 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/1.059, allocations: 18.5 kB / 1.37 GB, free: 4.742 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005542/1.06, allocations: 356.1 kB / 1.371 GB, free: 4.473 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/1.06, allocations: 216.7 kB / 1.371 GB, free: 4.469 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/1.072, allocations: 8.512 MB / 1.379 GB, free: 332 kB / 0.9829 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.05041/1.122, allocations: 53.76 MB / 1.432 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/1.136, allocations: 10.67 MB / 1.442 GB, free: 3.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005087/1.141, allocations: 4.012 MB / 1.446 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/1.142, allocations: 111.3 kB / 1.446 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.611e-05/1.142, allocations: 129.7 kB / 1.446 GB, free: 15.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=909): time 1.063e-05/1.142, allocations: 0 / 1.446 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=911): time 0.03324/1.175, allocations: 20.41 MB / 1.466 GB, free: 11.03 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.175, allocations: 352.2 kB / 1.467 GB, free: 10.62 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006736/1.182, allocations: 5.79 MB / 1.472 GB, free: 4.883 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.0004198/1.182, allocations: 194.4 kB / 1.473 GB, free: 4.688 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.185, allocations: 4.053 MB / 1.476 GB, free: 0.6289 MB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/1.187, allocations: 3.147 MB / 1.48 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/1.189, allocations: 1.737 MB / 1.481 GB, free: 11.76 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/1.189, allocations: 301.1 kB / 1.482 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/1.194, allocations: 3.272 MB / 1.485 GB, free: 8.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00579/1.199, allocations: 5.266 MB / 1.49 GB, free: 2.191 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.21, allocations: 8.586 MB / 1.498 GB, free: 8.887 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/1.21, allocations: 12 kB / 1.498 GB, free: 8.875 MB / 1.108 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.02398/1.234, allocations: 13.88 MB / 1.512 GB, free: 10.85 MB / 1.124 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.234, allocations: 24.97 kB / 1.512 GB, free: 10.83 MB / 1.124 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-05/1.234, allocations: 48 kB / 1.512 GB, free: 10.78 MB / 1.124 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/1.259, allocations: 6.236 MB / 1.518 GB, free: 4.496 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006219/1.266, allocations: 1.958 MB / 1.52 GB, free: 2.535 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06531/1.331, allocations: 57.94 MB / 1.576 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007211/1.338, allocations: 0.525 MB / 1.577 GB, free: 5.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/1.339, allocations: 376 kB / 1.577 GB, free: 4.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006329/1.345, allocations: 4.262 MB / 1.582 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005177/1.35, allocations: 5.024 MB / 1.586 GB, free: 10.85 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009898/1.36, allocations: 8.268 MB / 1.594 GB, free: 1.863 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.279e-05/1.36, allocations: 16 kB / 1.595 GB, free: 1.848 MB / 1.202 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.0191/1.379, allocations: 12.19 MB / 1.606 GB, free: 5.531 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.379, allocations: 24 kB / 1.606 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/1.379, allocations: 48 kB / 1.606 GB, free: 5.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02088/1.4, allocations: 5.143 MB / 1.612 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/1.407, allocations: 2.102 MB / 1.614 GB, free: 14.17 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0482/1.455, allocations: 47.54 MB / 1.66 GB, free: 12.08 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/1.462, allocations: 462 kB / 1.66 GB, free: 11.63 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/1.463, allocations: 368.6 kB / 1.661 GB, free: 11.27 MB / 1.28 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.001345/1.464, allocations: 0.7464 MB / 1.662 GB, free: 10.52 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.465, allocations: 0.8955 MB / 1.662 GB, free: 9.609 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/1.48, allocations: 10 MB / 1.672 GB, free: 15.57 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/1.48, allocations: 47.81 kB / 1.672 GB, free: 15.53 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.48, allocations: 0 / 1.672 GB, free: 15.53 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.483, allocations: 1.591 MB / 1.674 GB, free: 13.91 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008654/1.484, allocations: 156 kB / 1.674 GB, free: 13.75 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/1.488, allocations: 362.2 kB / 1.674 GB, free: 13.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/1.489, allocations: 0.7206 MB / 1.675 GB, free: 12.68 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01769/1.506, allocations: 9.417 MB / 1.684 GB, free: 3.43 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06642/1.573, allocations: 46.8 MB / 1.73 GB, free: 4.348 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003904/1.577, allocations: 3.012 MB / 1.733 GB, free: 1.328 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.004058/1.581, allocations: 3.682 MB / 1.736 GB, free: 13.69 MB / 1.358 GB Notification: Performance of Backend: time 5.01e-07/1.581, allocations: 0 / 1.736 GB, free: 13.69 MB / 1.358 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.03819/1.619, allocations: 24.68 MB / 1.76 GB, free: 4.523 MB / 1.374 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.6598/2.279, allocations: 33.05 MB / 1.793 GB, free: 442.9 MB / 1.374 GB Notification: Performance of Templates: time 0.1094/2.388, allocations: 204.4 MB / 1.992 GB, free: 312.9 MB / 1.374 GB make -j1 -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)