Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_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_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001228, allocations: 114.7 kB / 18.42 MB, free: 4.684 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.001175/0.001175, allocations: 189.5 kB / 19.35 MB, free: 3.754 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.368/1.368, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.1046/0.1046, allocations: 14.17 MB / 286.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.303/3.303, allocations: 461.2 MB / 0.7801 GB, free: 107.2 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.001826/0.001826, allocations: 92.09 kB / 1.132 GB, free: 22 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3409, allocations: 172.1 MB / 1.3 GB, free: 6.965 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05088/0.3918, allocations: 63.84 MB / 1.362 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03974/0.4316, allocations: 23.27 MB / 1.385 GB, free: 15.54 MB / 1.077 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/0.4452, allocations: 238.9 kB / 1.385 GB, free: 15.3 MB / 1.077 GB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.4568, allocations: 3.314 MB / 1.388 GB, free: 11.96 MB / 1.077 GB Notification: Performance of NFTyping.typeBindings: time 0.02945/0.4863, allocations: 9.421 MB / 1.397 GB, free: 2.52 MB / 1.077 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.4964, allocations: 3.257 MB / 1.401 GB, free: 15.26 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03316/0.5296, allocations: 21.26 MB / 1.421 GB, free: 9.93 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007085/0.5367, allocations: 2.522 MB / 1.424 GB, free: 7.328 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.5505, allocations: 7.146 MB / 1.431 GB, free: 160 kB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.5646, allocations: 7.571 MB / 1.438 GB, free: 8.555 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.005137/0.5698, allocations: 1.047 MB / 1.439 GB, free: 7.508 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009988/0.5798, allocations: 2.043 MB / 1.441 GB, free: 5.465 MB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.5844, allocations: 2.311 MB / 1.443 GB, free: 3.145 MB / 1.124 GB Notification: Performance of NFVerifyModel.verify: time 0.0156/0.6, allocations: 6.718 MB / 1.45 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.03026/0.6303, allocations: 16.76 MB / 1.466 GB, free: 11.57 MB / 1.155 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6304, allocations: 0 / 1.466 GB, free: 11.57 MB / 1.155 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6304, allocations: 0 / 1.466 GB, free: 11.57 MB / 1.155 GB Notification: Performance of Transformations before backend: time 0.0006649/0.6311, allocations: 0 / 1.466 GB, free: 11.57 MB / 1.155 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.06382/0.6949, allocations: 16.56 MB / 1.483 GB, free: 10.89 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.695, allocations: 12.03 kB / 1.483 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00914/0.7041, allocations: 1.704 MB / 1.484 GB, free: 9.168 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/0.723, allocations: 7.153 MB / 1.491 GB, free: 1.926 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007786/0.7238, allocations: 0.6535 MB / 1.492 GB, free: 1.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/0.7268, allocations: 0.871 MB / 1.493 GB, free: 408 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/0.7501, allocations: 8.973 MB / 1.502 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/0.7505, allocations: 15.88 kB / 1.502 GB, free: 7.004 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/0.7522, allocations: 352 kB / 1.502 GB, free: 6.66 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.7525, allocations: 212 kB / 1.502 GB, free: 6.453 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/0.7742, allocations: 8.523 MB / 1.51 GB, free: 13.91 MB / 1.202 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.09569/0.8699, allocations: 57.15 MB / 1.566 GB, free: 15.85 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.8893, allocations: 10.66 MB / 1.577 GB, free: 5.156 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007871/0.8972, allocations: 4.02 MB / 1.581 GB, free: 1.121 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.898, allocations: 119 kB / 1.581 GB, free: 1.004 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.8982, allocations: 121.7 kB / 1.581 GB, free: 0.875 MB / 1.264 GB Notification: Performance of pre-optimization done (n=909): time 1.605e-05/0.8982, allocations: 0 / 1.581 GB, free: 0.875 MB / 1.264 GB Notification: Performance of matching and sorting (n=909): time 0.03029/0.9285, allocations: 12.06 MB / 1.593 GB, free: 4.805 MB / 1.28 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.9288, allocations: 352.2 kB / 1.593 GB, free: 4.398 MB / 1.28 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.316/2.245, allocations: 6.313 MB / 1.599 GB, free: 263.1 MB / 1.28 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/2.247, allocations: 191.1 kB / 1.599 GB, free: 263 MB / 1.28 GB Notification: Performance of collectInitialEqns (initialization): time 0.004195/2.251, allocations: 4.122 MB / 1.603 GB, free: 262.9 MB / 1.28 GB Notification: Performance of collectInitialBindings (initialization): time 0.004827/2.256, allocations: 3.302 MB / 1.606 GB, free: 261.2 MB / 1.28 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003195/2.259, allocations: 1.734 MB / 1.608 GB, free: 260.4 MB / 1.28 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/2.259, allocations: 307.9 kB / 1.608 GB, free: 260.1 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/2.265, allocations: 3.271 MB / 1.612 GB, free: 258.7 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009283/2.275, allocations: 5.267 MB / 1.617 GB, free: 255.3 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/2.295, allocations: 8.588 MB / 1.625 GB, free: 249.9 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002264/2.295, allocations: 15.19 kB / 1.625 GB, free: 249.9 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.04628/2.341, allocations: 13.94 MB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/2.341, allocations: 26.34 kB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/2.341, allocations: 47.5 kB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03081/2.372, allocations: 6.181 MB / 1.645 GB, free: 243.7 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008337/2.381, allocations: 1.947 MB / 1.647 GB, free: 243.5 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07356/2.454, allocations: 58.15 MB / 1.704 GB, free: 199.3 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/2.465, allocations: 0.8617 MB / 1.704 GB, free: 198.9 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/2.467, allocations: 373.6 kB / 1.705 GB, free: 198.8 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008068/2.475, allocations: 4.255 MB / 1.709 GB, free: 196.5 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005426/2.48, allocations: 5.028 MB / 1.714 GB, free: 192 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01031/2.491, allocations: 8.264 MB / 1.722 GB, free: 183 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.867e-05/2.491, allocations: 16 kB / 1.722 GB, free: 183 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.02232/2.513, allocations: 12.24 MB / 1.734 GB, free: 170.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/2.513, allocations: 28 kB / 1.734 GB, free: 170.6 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/2.513, allocations: 49.09 kB / 1.734 GB, free: 170.6 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02358/2.537, allocations: 5.1 MB / 1.739 GB, free: 165.4 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008242/2.545, allocations: 2.087 MB / 1.741 GB, free: 163.3 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04842/2.594, allocations: 47.66 MB / 1.788 GB, free: 113.2 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/2.604, allocations: 0.6729 MB / 1.788 GB, free: 112.6 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000882/2.605, allocations: 368 kB / 1.789 GB, free: 112.2 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 (1061): * Single equations (assignments): 1041 * 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.001878/2.607, allocations: 0.7488 MB / 1.789 GB, free: 111.5 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002294/2.609, allocations: 0.9472 MB / 1.79 GB, free: 110.6 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.625, allocations: 9.952 MB / 1.8 GB, free: 100.6 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-05/2.625, allocations: 47.83 kB / 1.8 GB, free: 100.5 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/2.625, allocations: 6.562 kB / 1.8 GB, free: 100.5 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/2.63, allocations: 1.901 MB / 1.802 GB, free: 98.66 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/2.631, allocations: 160 kB / 1.802 GB, free: 98.5 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005298/2.636, allocations: 271.4 kB / 1.802 GB, free: 98.25 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/2.637, allocations: 0.7206 MB / 1.803 GB, free: 97.52 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01907/2.656, allocations: 9.368 MB / 1.812 GB, free: 88.32 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0781/2.734, allocations: 47.77 MB / 1.859 GB, free: 40.3 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004561/2.739, allocations: 2.996 MB / 1.862 GB, free: 37.29 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.005813/2.745, allocations: 4.07 MB / 1.866 GB, free: 33.27 MB / 1.28 GB Notification: Performance of Backend: time 7.41e-07/2.745, allocations: 0 / 1.866 GB, free: 33.27 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.04688/2.792, allocations: 24.82 MB / 1.89 GB, free: 7.984 MB / 1.28 GB Notification: Performance of SimCode: time 0.04901/2.841, allocations: 30.43 MB / 1.92 GB, free: 9.414 MB / 1.312 GB Notification: Performance of Templates: time 0.358/3.199, allocations: 216.5 MB / 2.131 GB, free: 0.7266 MB / 1.515 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)