Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.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_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009172, 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.3271/0.3271, allocations: 205.5 MB / 223.6 MB, free: 0.9609 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.0009009/0.000901, allocations: 111.7 kB / 271.1 MB, free: 8.676 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.104/0.104, allocations: 14.42 MB / 332.8 MB, free: 45.32 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.383/1.383, allocations: 460.6 MB / 0.8245 GB, free: 12.8 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.001179/0.001179, allocations: 75.89 kB / 1.006 GB, free: 7.754 MB / 0.6858 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1983, allocations: 171.9 MB / 1.174 GB, free: 11.48 MB / 0.8577 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.735/0.9333, allocations: 56.34 MB / 1.229 GB, free: 14 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.9571, allocations: 20.57 MB / 1.249 GB, free: 8.445 MB / 0.8892 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006182/0.9633, allocations: 223.8 kB / 1.25 GB, free: 8.375 MB / 0.8892 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.968, allocations: 2.429 MB / 1.252 GB, free: 7.508 MB / 0.8892 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.9819, allocations: 6.979 MB / 1.259 GB, free: 3.344 MB / 0.8892 GB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.9864, allocations: 2.9 MB / 1.262 GB, free: 1.148 MB / 0.8892 GB Notification: Performance of NFFlatten.flatten: time 0.01843/1.005, allocations: 19.31 MB / 1.28 GB, free: 6.09 MB / 0.9048 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/1.008, allocations: 2.364 MB / 1.283 GB, free: 4.84 MB / 0.9048 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007083/1.015, allocations: 5.624 MB / 1.288 GB, free: 1.418 MB / 0.9048 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005735/1.021, allocations: 5.991 MB / 1.294 GB, free: 13.46 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.0009016/1.021, allocations: 0.8293 MB / 1.295 GB, free: 13.46 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/1.025, allocations: 1.716 MB / 1.297 GB, free: 13.27 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/1.026, allocations: 1.871 MB / 1.298 GB, free: 11.68 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.004444/1.03, allocations: 5.712 MB / 1.304 GB, free: 7.645 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.042, allocations: 13.56 MB / 1.317 GB, free: 14.16 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.042, allocations: 5.438 kB / 1.317 GB, free: 14.15 MB / 0.936 GB Notification: Performance of FrontEnd: time 1.292e-06/1.042, allocations: 0 / 1.317 GB, free: 14.15 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.000178/1.042, allocations: 0 / 1.317 GB, free: 14.15 MB / 0.936 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1921 * Number of variables: 1921 Notification: Performance of Generate backend data structure: time 0.03415/1.076, allocations: 13.8 MB / 1.331 GB, free: 5.492 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.076, allocations: 13.92 kB / 1.331 GB, free: 5.488 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/1.081, allocations: 1.436 MB / 1.332 GB, free: 4.777 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008332/1.089, allocations: 5.941 MB / 1.338 GB, free: 288 kB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/1.089, allocations: 0.578 MB / 1.338 GB, free: 12 kB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007591/1.09, allocations: 0.7691 MB / 1.339 GB, free: 15.75 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009784/1.1, allocations: 7.887 MB / 1.347 GB, free: 7.551 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.1, allocations: 15.88 kB / 1.347 GB, free: 7.535 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/1.1, allocations: 308 kB / 1.347 GB, free: 7.234 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.1, allocations: 188 kB / 1.347 GB, free: 7.051 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.111, allocations: 7.5 MB / 1.355 GB, free: 15.54 MB / 0.9673 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.04194/1.153, allocations: 46.19 MB / 1.4 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.164, allocations: 9.333 MB / 1.409 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/1.168, allocations: 3.542 MB / 1.412 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/1.169, allocations: 98.14 kB / 1.412 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/1.169, allocations: 116.7 kB / 1.413 GB, free: 20 kB / 1.014 GB Notification: Performance of pre-optimization done (n=788): time 8.967e-06/1.169, allocations: 0 / 1.413 GB, free: 20 kB / 1.014 GB Notification: Performance of matching and sorting (n=790): time 0.0269/1.196, allocations: 17.86 MB / 1.43 GB, free: 14.04 MB / 1.045 GB Notification: Performance of evaluateOutputsOnly (n=790 -> n=338): time 1.15/2.345, allocations: 437.6 MB / 1.857 GB, free: 292.6 MB / 1.327 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/2.345, allocations: 292.5 kB / 1.858 GB, free: 292.3 MB / 1.327 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006247/2.352, allocations: 6.817 MB / 1.864 GB, free: 290 MB / 1.327 GB Notification: Performance of collectPreVariables (initialization): time 0.0005579/2.352, allocations: 173.3 kB / 1.864 GB, free: 289.8 MB / 1.327 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/2.354, allocations: 2.824 MB / 1.867 GB, free: 288.3 MB / 1.327 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/2.354, allocations: 1.21 MB / 1.868 GB, free: 287.8 MB / 1.327 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/2.356, allocations: 1.84 MB / 1.87 GB, free: 286.9 MB / 1.327 GB Notification: Performance of setup shared object (initialization): time 3.079e-05/2.356, allocations: 310.4 kB / 1.87 GB, free: 286.6 MB / 1.327 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/2.36, allocations: 2.95 MB / 1.873 GB, free: 285.4 MB / 1.327 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/2.364, allocations: 4.751 MB / 1.878 GB, free: 282.2 MB / 1.327 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006982/2.371, allocations: 6.553 MB / 1.884 GB, free: 278 MB / 1.327 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/2.371, allocations: 12 kB / 1.884 GB, free: 278 MB / 1.327 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.01982/2.391, allocations: 12.44 MB / 1.897 GB, free: 273.3 MB / 1.327 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/2.391, allocations: 25.81 kB / 1.897 GB, free: 273.3 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/2.391, allocations: 42.97 kB / 1.897 GB, free: 273.3 MB / 1.327 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02101/2.412, allocations: 5.539 MB / 1.902 GB, free: 272.6 MB / 1.327 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/2.418, allocations: 1.75 MB / 1.904 GB, free: 272.4 MB / 1.327 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04885/2.466, allocations: 53.89 MB / 1.956 GB, free: 221.5 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/2.473, allocations: 0.5671 MB / 1.957 GB, free: 221 MB / 1.327 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/2.474, allocations: 336 kB / 1.957 GB, free: 220.6 MB / 1.327 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004481/2.478, allocations: 3.571 MB / 1.961 GB, free: 217.1 MB / 1.327 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003623/2.482, allocations: 4.506 MB / 1.965 GB, free: 211.9 MB / 1.327 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005788/2.488, allocations: 6.233 MB / 1.971 GB, free: 205.1 MB / 1.327 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.719e-05/2.488, allocations: 12 kB / 1.971 GB, free: 205.1 MB / 1.327 GB Notification: Performance of matching and sorting (n=1198) (initialization_lambda0): time 0.01436/2.502, allocations: 10.74 MB / 1.982 GB, free: 194.2 MB / 1.327 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/2.502, allocations: 28 kB / 1.982 GB, free: 194.2 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/2.502, allocations: 47.98 kB / 1.982 GB, free: 194.2 MB / 1.327 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/2.519, allocations: 4.443 MB / 1.986 GB, free: 189.7 MB / 1.327 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005382/2.525, allocations: 1.892 MB / 1.988 GB, free: 187.8 MB / 1.327 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03294/2.558, allocations: 43.39 MB / 2.03 GB, free: 141.9 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00632/2.564, allocations: 410.2 kB / 2.031 GB, free: 141.5 MB / 1.327 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/2.564, allocations: 332 kB / 2.031 GB, free: 141.1 MB / 1.327 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 (952): * Single equations (assignments): 932 * 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 {(172,0), (38,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.0009442/2.565, allocations: 0.6206 MB / 2.032 GB, free: 140.5 MB / 1.327 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/2.566, allocations: 0.7405 MB / 2.032 GB, free: 139.8 MB / 1.327 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/2.574, allocations: 5.46 MB / 2.038 GB, free: 134.3 MB / 1.327 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/2.574, allocations: 19.92 kB / 2.038 GB, free: 134.2 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/2.574, allocations: 4 kB / 2.038 GB, free: 134.2 MB / 1.327 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/2.575, allocations: 1.155 MB / 2.039 GB, free: 133.1 MB / 1.327 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007247/2.576, allocations: 64 kB / 2.039 GB, free: 133 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/2.578, allocations: 139.8 kB / 2.039 GB, free: 132.9 MB / 1.327 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/2.579, allocations: 409.9 kB / 2.039 GB, free: 132.5 MB / 1.327 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01005/2.589, allocations: 5.376 MB / 2.045 GB, free: 127.1 MB / 1.327 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04443/2.633, allocations: 37.64 MB / 2.081 GB, free: 89.17 MB / 1.327 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001664/2.635, allocations: 1.43 MB / 2.083 GB, free: 87.73 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.003722/2.639, allocations: 4.154 MB / 2.087 GB, free: 83.61 MB / 1.327 GB Notification: Performance of Backend: time 3.81e-07/2.639, allocations: 0 / 2.087 GB, free: 83.61 MB / 1.327 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.02852/2.667, allocations: 21.87 MB / 2.108 GB, free: 61.29 MB / 1.327 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.01576/2.683, allocations: 21.05 MB / 2.129 GB, free: 40.33 MB / 1.327 GB Notification: Performance of Templates: time 0.6894/3.372, allocations: 163.7 MB / 2.289 GB, free: 388.8 MB / 1.421 GB make -j1 -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.makefile (rm -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; mkfifo ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe >> ../files/ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.sim & ./ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe 2>&1)