Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_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_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_SymbolicJacobian_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_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_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.0009371/0.0009372, 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.3244/0.3244, allocations: 205.6 MB / 223.7 MB, free: 28 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.0009022/0.0009021, allocations: 112.6 kB / 271.1 MB, free: 8.492 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1051/0.1051, allocations: 14.44 MB / 332.9 MB, free: 45.04 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.368/1.368, allocations: 460.6 MB / 0.8245 GB, free: 11.4 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.001215/0.001215, allocations: 79.31 kB / 1.006 GB, free: 14.02 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2, allocations: 171.9 MB / 1.174 GB, free: 1.754 MB / 0.8889 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.03701/0.237, allocations: 56.32 MB / 1.229 GB, free: 9.211 MB / 0.9514 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.2633, allocations: 20.57 MB / 1.249 GB, free: 4.574 MB / 0.967 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006441/0.2697, allocations: 218.9 kB / 1.25 GB, free: 4.359 MB / 0.967 GB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.2744, allocations: 2.433 MB / 1.252 GB, free: 1.914 MB / 0.967 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.2889, allocations: 6.975 MB / 1.259 GB, free: 10.91 MB / 0.9827 GB Notification: Performance of NFTyping.typeClassSections: time 0.004472/0.2934, allocations: 2.895 MB / 1.262 GB, free: 8.012 MB / 0.9827 GB Notification: Performance of NFFlatten.flatten: time 0.7304/1.024, allocations: 19.29 MB / 1.28 GB, free: 47.09 MB / 0.9829 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/1.027, allocations: 2.367 MB / 1.283 GB, free: 46.62 MB / 0.9829 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/1.032, allocations: 5.624 MB / 1.288 GB, free: 46.27 MB / 0.9829 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004448/1.037, allocations: 5.991 MB / 1.294 GB, free: 45.15 MB / 0.9829 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/1.038, allocations: 0.829 MB / 1.295 GB, free: 45.15 MB / 0.9829 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/1.041, allocations: 1.717 MB / 1.297 GB, free: 45.15 MB / 0.9829 GB Notification: Performance of NFScalarize.scalarize: time 0.000848/1.042, allocations: 1.869 MB / 1.298 GB, free: 44.78 MB / 0.9829 GB Notification: Performance of NFVerifyModel.verify: time 0.004292/1.046, allocations: 5.712 MB / 1.304 GB, free: 43.28 MB / 0.9829 GB Notification: Performance of NFConvertDAE.convert: time 0.01175/1.058, allocations: 13.56 MB / 1.317 GB, free: 40.64 MB / 0.9829 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.058, allocations: 0.5156 kB / 1.317 GB, free: 40.64 MB / 0.9829 GB Notification: Performance of FrontEnd: time 1.473e-06/1.058, allocations: 2.562 kB / 1.317 GB, free: 40.64 MB / 0.9829 GB Notification: Performance of Transformations before backend: time 0.0002366/1.058, allocations: 1.5 kB / 1.317 GB, free: 40.64 MB / 0.9829 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.03598/1.094, allocations: 13.8 MB / 1.331 GB, free: 34.42 MB / 0.9829 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.094, allocations: 10.11 kB / 1.331 GB, free: 34.42 MB / 0.9829 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/1.099, allocations: 1.44 MB / 1.332 GB, free: 33.81 MB / 0.9829 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008331/1.107, allocations: 5.943 MB / 1.338 GB, free: 30.72 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/1.107, allocations: 0.5749 MB / 1.338 GB, free: 30.45 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007774/1.108, allocations: 0.7719 MB / 1.339 GB, free: 30.19 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009523/1.118, allocations: 7.884 MB / 1.347 GB, free: 26.44 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/1.118, allocations: 12.56 kB / 1.347 GB, free: 26.44 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004781/1.118, allocations: 310 kB / 1.347 GB, free: 26.2 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/1.118, allocations: 185.9 kB / 1.347 GB, free: 26.2 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009868/1.128, allocations: 7.501 MB / 1.355 GB, free: 23.61 MB / 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.04069/1.169, allocations: 46.19 MB / 1.4 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.18, allocations: 9.325 MB / 1.409 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/1.184, allocations: 3.545 MB / 1.412 GB, free: 7.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/1.185, allocations: 98.61 kB / 1.412 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/1.185, allocations: 112.6 kB / 1.413 GB, free: 6.965 MB / 1.014 GB Notification: Performance of pre-optimization done (n=787): time 9.458e-06/1.185, allocations: 3.188 kB / 1.413 GB, free: 6.965 MB / 1.014 GB Notification: Performance of matching and sorting (n=789): time 0.02682/1.212, allocations: 17.83 MB / 1.43 GB, free: 13.45 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.212, allocations: 343.4 kB / 1.43 GB, free: 13.13 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.217, allocations: 5.208 MB / 1.435 GB, free: 9.832 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.0003869/1.218, allocations: 169.7 kB / 1.436 GB, free: 9.66 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.22, allocations: 3.597 MB / 1.439 GB, free: 6.062 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.222, allocations: 2.727 MB / 1.442 GB, free: 3.352 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/1.223, allocations: 1.55 MB / 1.443 GB, free: 1.789 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/1.224, allocations: 305.1 kB / 1.444 GB, free: 1.488 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004291/1.228, allocations: 2.935 MB / 1.446 GB, free: 14.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/1.233, allocations: 4.737 MB / 1.451 GB, free: 9.168 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00976/1.243, allocations: 7.655 MB / 1.459 GB, free: 1.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.243, allocations: 12 kB / 1.459 GB, free: 1.078 MB / 1.045 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.02169/1.265, allocations: 12.42 MB / 1.471 GB, free: 4.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.265, allocations: 26.34 kB / 1.471 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/1.265, allocations: 40 kB / 1.471 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02225/1.287, allocations: 5.534 MB / 1.476 GB, free: 15.33 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/1.292, allocations: 1.75 MB / 1.478 GB, free: 13.68 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05921/1.352, allocations: 53.9 MB / 1.53 GB, free: 5.172 MB / 1.124 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/1.358, allocations: 482 kB / 1.531 GB, free: 4.699 MB / 1.124 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004567/1.359, allocations: 332 kB / 1.531 GB, free: 4.375 MB / 1.124 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006018/1.365, allocations: 3.807 MB / 1.535 GB, free: 0.5586 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00465/1.369, allocations: 4.499 MB / 1.539 GB, free: 11.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008747/1.378, allocations: 7.324 MB / 1.546 GB, free: 3.676 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.98e-05/1.378, allocations: 12 kB / 1.547 GB, free: 3.664 MB / 1.139 GB Notification: Performance of matching and sorting (n=1197) (initialization_lambda0): time 0.01691/1.395, allocations: 10.72 MB / 1.557 GB, free: 9.242 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.395, allocations: 24.19 kB / 1.557 GB, free: 9.219 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.505e-05/1.395, allocations: 48 kB / 1.557 GB, free: 9.172 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01823/1.413, allocations: 4.437 MB / 1.561 GB, free: 4.691 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.419, allocations: 1.901 MB / 1.563 GB, free: 2.898 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04194/1.461, allocations: 43.39 MB / 1.606 GB, free: 5.004 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/1.468, allocations: 410.3 kB / 1.606 GB, free: 4.602 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00044/1.468, allocations: 332 kB / 1.606 GB, free: 4.277 MB / 1.202 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 (951): * Single equations (assignments): 931 * 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.001277/1.47, allocations: 0.6703 MB / 1.607 GB, free: 3.602 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009439/1.471, allocations: 0.7951 MB / 1.608 GB, free: 2.797 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.484, allocations: 8.64 MB / 1.616 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-05/1.484, allocations: 39.86 kB / 1.616 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.484, allocations: 3.984 kB / 1.616 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.487, allocations: 1.42 MB / 1.618 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007896/1.488, allocations: 143.9 kB / 1.618 GB, free: 8.465 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.491, allocations: 318.5 kB / 1.618 GB, free: 8.152 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007551/1.491, allocations: 0.6144 MB / 1.619 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0156/1.507, allocations: 8.228 MB / 1.627 GB, free: 15.43 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05974/1.567, allocations: 41.77 MB / 1.667 GB, free: 5.328 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003475/1.57, allocations: 2.657 MB / 1.67 GB, free: 2.656 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0038/1.574, allocations: 3.316 MB / 1.673 GB, free: 15.36 MB / 1.28 GB Notification: Performance of Backend: time 4.01e-07/1.574, allocations: 0 / 1.673 GB, free: 15.36 MB / 1.28 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.03399/1.608, allocations: 22.02 MB / 1.695 GB, free: 8.867 MB / 1.295 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.02895/1.637, allocations: 29 MB / 1.723 GB, free: 11.72 MB / 1.327 GB Notification: Performance of Templates: time 0.8324/2.47, allocations: 179.6 MB / 1.899 GB, free: 407.1 MB / 1.374 GB make -j1 -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)