Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_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.0009329/0.000933, 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.3426/0.3426, allocations: 205.5 MB / 223.7 MB, free: 92 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 99.92 kB / 271.1 MB, free: 8.488 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1128/0.1128, allocations: 14.45 MB / 332.9 MB, free: 44.98 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.353/1.353, allocations: 460.6 MB / 0.8245 GB, free: 12.16 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.001204/0.001204, allocations: 71.89 kB / 1.006 GB, free: 11.93 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1986, allocations: 171.9 MB / 1.174 GB, free: 15.68 MB / 0.9045 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.04158/0.2402, allocations: 64.69 MB / 1.237 GB, free: 14.73 MB / 0.967 GB Notification: Performance of NFInst.instExpressions: time 0.742/0.9823, allocations: 23.33 MB / 1.26 GB, free: 38.55 MB / 0.9673 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007778/0.9901, allocations: 251.7 kB / 1.26 GB, free: 38.55 MB / 0.9673 GB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.9957, allocations: 2.801 MB / 1.263 GB, free: 38.5 MB / 0.9673 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/1.012, allocations: 8.029 MB / 1.271 GB, free: 38.23 MB / 0.9673 GB Notification: Performance of NFTyping.typeClassSections: time 0.004392/1.016, allocations: 3.005 MB / 1.274 GB, free: 38.14 MB / 0.9673 GB Notification: Performance of NFFlatten.flatten: time 0.01809/1.034, allocations: 22.12 MB / 1.296 GB, free: 29.9 MB / 0.9673 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/1.038, allocations: 2.517 MB / 1.298 GB, free: 28.77 MB / 0.9673 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008075/1.046, allocations: 6.415 MB / 1.304 GB, free: 25.45 MB / 0.9673 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007273/1.053, allocations: 6.813 MB / 1.311 GB, free: 22.17 MB / 0.9673 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/1.054, allocations: 0.8956 MB / 1.312 GB, free: 22.17 MB / 0.9673 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.059, allocations: 1.892 MB / 1.314 GB, free: 22.02 MB / 0.9673 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.06, allocations: 2.06 MB / 1.316 GB, free: 20.55 MB / 0.9673 GB Notification: Performance of NFVerifyModel.verify: time 0.005854/1.066, allocations: 6.464 MB / 1.322 GB, free: 16.44 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.012/1.078, allocations: 15.2 MB / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.078, allocations: 0 / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of FrontEnd: time 1.292e-06/1.078, allocations: 0 / 1.337 GB, free: 10.36 MB / 0.9673 GB Notification: Performance of Transformations before backend: time 0.0002199/1.078, 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.03683/1.115, allocations: 15.69 MB / 1.352 GB, free: 0.7656 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.115, allocations: 8.859 kB / 1.352 GB, free: 0.7656 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/1.12, allocations: 1.649 MB / 1.354 GB, free: 15.95 MB / 0.9829 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.13, allocations: 6.634 MB / 1.36 GB, free: 11.07 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/1.13, allocations: 0.6534 MB / 1.361 GB, free: 10.76 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000872/1.131, allocations: 0.8715 MB / 1.362 GB, free: 10.46 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/1.143, allocations: 8.974 MB / 1.37 GB, free: 4.746 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/1.143, allocations: 22.56 kB / 1.37 GB, free: 4.73 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/1.144, allocations: 356.2 kB / 1.371 GB, free: 4.461 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/1.144, allocations: 212.7 kB / 1.371 GB, free: 4.461 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/1.156, allocations: 8.509 MB / 1.379 GB, free: 328 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.04827/1.204, allocations: 53.76 MB / 1.432 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.217, allocations: 10.68 MB / 1.442 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/1.222, allocations: 4.008 MB / 1.446 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/1.222, allocations: 115.2 kB / 1.446 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.992e-05/1.222, allocations: 121.7 kB / 1.446 GB, free: 15.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=909): time 1.079e-05/1.222, allocations: 0 / 1.446 GB, free: 15.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=911): time 0.03113/1.253, allocations: 20.41 MB / 1.466 GB, free: 11.12 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.253, allocations: 357.7 kB / 1.467 GB, free: 10.71 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/1.259, allocations: 5.79 MB / 1.472 GB, free: 4.965 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.0003928/1.26, allocations: 189.7 kB / 1.473 GB, free: 4.773 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.002338/1.262, allocations: 4.055 MB / 1.476 GB, free: 0.7148 MB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.264, allocations: 3.15 MB / 1.48 GB, free: 13.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/1.266, allocations: 1.733 MB / 1.481 GB, free: 11.84 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/1.266, allocations: 305.1 kB / 1.482 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.271, allocations: 3.272 MB / 1.485 GB, free: 8.262 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/1.277, allocations: 5.263 MB / 1.49 GB, free: 2.277 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.287, allocations: 8.588 MB / 1.498 GB, free: 8.973 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/1.287, allocations: 12 kB / 1.498 GB, free: 8.961 MB / 1.108 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.02365/1.311, allocations: 13.88 MB / 1.512 GB, free: 10.94 MB / 1.124 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.311, allocations: 24.22 kB / 1.512 GB, free: 10.92 MB / 1.124 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-05/1.311, allocations: 55.98 kB / 1.512 GB, free: 10.86 MB / 1.124 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/1.336, allocations: 6.234 MB / 1.518 GB, free: 4.582 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/1.342, allocations: 1.954 MB / 1.52 GB, free: 2.625 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06477/1.407, allocations: 57.93 MB / 1.576 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007199/1.414, allocations: 0.5367 MB / 1.577 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000515/1.414, allocations: 372 kB / 1.577 GB, free: 4.965 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006255/1.421, allocations: 4.254 MB / 1.582 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005105/1.426, allocations: 5.027 MB / 1.586 GB, free: 10.95 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009784/1.436, allocations: 8.264 MB / 1.594 GB, free: 1.973 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-05/1.436, allocations: 16 kB / 1.594 GB, free: 1.957 MB / 1.202 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.01878/1.454, allocations: 12.19 MB / 1.606 GB, free: 5.637 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.454, allocations: 28.94 kB / 1.606 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/1.455, allocations: 48 kB / 1.606 GB, free: 5.562 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/1.475, allocations: 5.152 MB / 1.612 GB, free: 380 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006498/1.482, allocations: 2.099 MB / 1.614 GB, free: 14.27 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0475/1.529, allocations: 47.54 MB / 1.66 GB, free: 12.17 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/1.536, allocations: 458 kB / 1.66 GB, free: 11.72 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/1.537, allocations: 368 kB / 1.661 GB, free: 11.36 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.001347/1.538, allocations: 0.7522 MB / 1.662 GB, free: 10.61 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.539, allocations: 0.8955 MB / 1.662 GB, free: 9.703 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.554, allocations: 10.01 MB / 1.672 GB, free: 15.66 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-05/1.554, allocations: 43.83 kB / 1.672 GB, free: 15.62 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.554, allocations: 4 kB / 1.672 GB, free: 15.62 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/1.557, allocations: 1.583 MB / 1.674 GB, free: 14 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000863/1.558, allocations: 160 kB / 1.674 GB, free: 13.85 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.562, allocations: 366.2 kB / 1.674 GB, free: 13.49 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/1.562, allocations: 0.7167 MB / 1.675 GB, free: 12.77 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01743/1.58, allocations: 9.419 MB / 1.684 GB, free: 3.523 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06573/1.646, allocations: 46.81 MB / 1.73 GB, free: 4.422 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003868/1.649, allocations: 3.008 MB / 1.733 GB, free: 1.406 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.004013/1.654, allocations: 3.675 MB / 1.736 GB, free: 13.77 MB / 1.358 GB Notification: Performance of Backend: time 4.01e-07/1.654, allocations: 0 / 1.736 GB, free: 13.77 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.03762/1.691, allocations: 24.66 MB / 1.76 GB, free: 4.625 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.7574/2.449, allocations: 33.06 MB / 1.793 GB, free: 442.3 MB / 1.374 GB Notification: Performance of Templates: time 0.102/2.551, allocations: 204.2 MB / 1.992 GB, free: 313.1 MB / 1.374 GB make -j1 -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)